Outline for February 11
Reading
:
text
, §10
Due
: Homework 3, due on February 15 at 11:55pm
More recursion
Nested lists: is an item in a list? [
isinlist.py
]
Fibonacci numbers [
rfib.py
]
Tower of Hanoi [
hanoi.py
]
Searching a list
Example use: linear search [
linsearch.py
]
Example use: recursive linear search [
rlinsearch.py
]
Speed: compare iterative and recursive Fibonacci programs [
timefibs.py
]
Matt Bishop
Office: 2209 Watershed Science
Phone: +1 (530) 752-8060
Email:
[email protected]
You can also obtain a PDF version of this.
Version of February 8, 2019 at 7:53PM