



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Notes; Class: Fundamental Algorithms; Subject: Computer Science; University: Wellesley College; Term: Unknown 1989;
Typology: Study notes
1 / 7
This page cannot be seen from the preview
Don't miss anything!




levels^ n
T(n) T(n-1) T(n-2)
n-
n n- n-
lg(n) + 1levels
T(n) T(n/2) T(n/4)
lg(n) + 1levels
T(n) T(n/2) T(n/4)
n n n/
n n/ n/
T(n-1)
level 1 level 2 level 3
level n
2 n-
T(n-1) T(n-2) (^) T(n-2) T(n-2) (^) T(n-2)