CS221: Algorithms and Data Structures Big-O
Alan J. Hu (Borrowing some slides from Steve Wolfman)
1
CS221: Algorithms and Data Structures Big-O Alan J. Hu (Borrowing - - PowerPoint PPT Presentation
CS221: Algorithms and Data Structures Big-O Alan J. Hu (Borrowing some slides from Steve Wolfman) 1 Learning Goals Define big-O, big-Omega, and big-Theta: O(), (), () Explain intuition behind their definitions.
1
2
9
a. Left b. Right c. Tied d. It depends
10
a. Left b. Right c. Tied d. It depends
11
a. Left b. Right c. Tied d. It depends
12
a. Left b. Right c. Tied d. It depends
13
a. Left b. Right c. Tied d. It depends
14
a. Left b. Right c. Tied d. It depends
15
a. Left b. Right c. Tied d. It depends
16
17
18
19
a. Left b. Right c. Tied d. It depends
20
a. Left b. Right c. Tied d. It depends
21
a. Left b. Right c. Tied d. It depends
22
24
25
26
27
28
29
30
31
32
33
34
35
36
45
51
52
53
(Split it up and use the “dominance” relationships.)
54
55