Download presentation
Presentation is loading. Please wait.
1
Past Midterm Review COMP171 Fall 2006
2
Midterm Review / Slide 2 Multiple Choices (1) (2)
3
Midterm Review / Slide 3 Complexity (1) l Line 3: i=n, i=n/2, i=n/(2)^2,….i=n/(2)^k, where k=log n. Thus O(logn)
4
Midterm Review / Slide 4 Complexity (2) l T(n)=
5
Midterm Review / Slide 5 Stack and Queues (1)
6
Midterm Review / Slide 6 Stack and Queue (2)
7
Midterm Review / Slide 7 Stack and Queue (3)
8
Midterm Review / Slide 8 Stack and Queue (4)
9
Midterm Review / Slide 9 Recursive
10
Midterm Review / Slide 10 Heap
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.