Order-of-magnitude time efficiency summary

studied byStudied by 4 people
0.0(0)
Get a hint
Hint

1

1 / 19

20 Terms

1

1

best case for sequential search

New cards
2

n

worst case for sequential search

New cards
3

n

average case for sequential search

New cards
4

1

best case for binary search

New cards
5

lg n

worst case for binary search

New cards
6

lg n

average case for binary search

New cards
7

n²

best case for selection sort

New cards
8

n²

worst selection sort

New cards
9

n²

average selection sort

New cards
10

n

best shuffle left

New cards
11

n²

worst shuffle left

New cards
12

n²

average shuffle left

New cards
13

n

best copy over

New cards
14

n

worst copy over

New cards
15

n

average copy over

New cards
16

n

best converging pointers

New cards
17

n

worst converging pointers

New cards
18

n

average converging pointers

New cards
19

n

best pattern matching

New cards
20

m x n

worst pattern matching

New cards

Explore top notes

note Note
studied byStudied by 44 people
... ago
5.0(2)
note Note
studied byStudied by 8 people
... ago
5.0(1)
note Note
studied byStudied by 46 people
... ago
5.0(2)
note Note
studied byStudied by 16 people
... ago
5.0(1)
note Note
studied byStudied by 168 people
... ago
5.0(1)
note Note
studied byStudied by 18 people
... ago
5.0(1)
note Note
studied byStudied by 3 people
... ago
5.0(1)
note Note
studied byStudied by 4 people
... ago
5.0(1)

Explore top flashcards

flashcards Flashcard (77)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (100)
studied byStudied by 83 people
... ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 20 people
... ago
5.0(1)
flashcards Flashcard (32)
studied byStudied by 5 people
... ago
5.0(1)
flashcards Flashcard (27)
studied byStudied by 16 people
... ago
5.0(1)
flashcards Flashcard (93)
studied byStudied by 2 people
... ago
5.0(1)
flashcards Flashcard (24)
studied byStudied by 3 people
... ago
5.0(1)
flashcards Flashcard (170)
studied byStudied by 70 people
... ago
5.0(2)
robot