Last time | Next time |
If one is doing a one-off search, then use
sequentialsearch -- requiring
has a ratio of Fibonacci numbers as the worst case, which we discovered with this handout.
Last time we used this handout to discover that the worst-case scenario is successive Fibonacci numbers, e.g.