













































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!














































Computability
Reasonable vs. Unreasonable Algorithms
Some examples thus far:^ –
Insert to front of linked list
O(log N)
Binary Search
Simple/Linear Search
O(N Log N)
Merge Sort
Insertion Sort
But it could get worse:^ –
2000
), etc.
For N = 256 5
5
If we had a computer that could execute a million
instructions per second…
-^
1,100,000 seconds = 12.7 days to complete But it could get worse…
N
-^
th
Goal: Move stack of rings to another peg
Rule 1: May move only 1 ring at a time
Rule 2: May never have larger ring on top ofsmaller ring
N
For N = 64 13
N^
64
If we had a computer that could execute a million
instructions per second…
-^
It would take 584,000 years to complete But it could get worse…
Match up the patterns in thetiles. Can it be done, yes or no?
25 available tiles remaining
24 available tiles remaining
22 available tiles remaining
2 available tiles remaining