Explore Library
Data Structures, AlgorithmsComplexity Analysis & Big-O Notation

73 items

1

Broken Memoization in Fibonacci

Code Quiz
2

Big-O Time/Space Trade-offs

Quiz
3

Big-O Time & Space Trade-offs

Slides / Video
4

Time/Space Trade-offs in Big-O Analysis

Flashcard
5

Finding Duplicates and Big-O

Code Quiz
6

Nested Loop Time & Space Complexity

Quiz
7

Off-by-One in Duplicate Check

Code Quiz
8

Big-O of a Simple Loop

Quiz
9

Big-O Notation Basics

Slides / Video
10

Big-O Notation Basics

Flashcard
11

Big-O for Time and Space

Slides / Video
12

Big-O Time & Space Basics

Flashcard
13

Linearithmic Time O(n log n)

Flashcard
14

Big-Omega Notation

Flashcard
15

Complexity of a Single Loop

Quiz
16

Sequential Code Blocks

Quiz
17

Linearithmic Time O(n log n)

Quiz
18

Exponential Time O(2^n)

Quiz
19

Ordering Complexity Classes

Quiz
20

Counting Basic Operations

Quiz
21

Dropping Constants

Quiz
22

Dropping Lower-Order Terms

Quiz
23

Complexity of Nested Loops

Quiz
24

Input Size Drives Complexity

Quiz
25

How Runtime Scales

Quiz
26

Constant Time O(1)

Quiz
27

Linear Time O(n)

Quiz
28

Logarithmic Time O(log n)

Quiz
29

Quadratic Time O(n^2)

Quiz
30

What Complexity Analysis Is and Why It Matters

Slides / Video
31

Using Complexity to Compare Algorithms

Slides / Video
32

Best, Average, and Worst Case

Slides / Video
33

Space Complexity Basics

Slides / Video
34

Analyzing Nested Loops for Time Complexity

Slides / Video
35

Analyzing Simple Loops for Time Complexity

Slides / Video
36

Dropping Constants and Lower-Order Terms

Slides / Video
37

Ranking Common Complexity Classes

Slides / Video
38

Constant Time Array Access

Code Quiz
39

Single Loop Linear Time

Code Quiz
40

Ordering Growth Rates

Code Quiz
41

Loop With Doubling Step

Code Quiz
42

Worst Case Of Linear Search

Code Quiz
43

Space Complexity Of Copy

Code Quiz
44

Two Input Variables

Code Quiz
45

Summing Sequential Loops

Code Quiz
46

Dropping Constants In Big-O

Code Quiz
47

Sort Then Loop Complexity

Code Quiz
48

Halving Loop Logarithmic Time

Code Quiz
49

Nested Loops Quadratic Time

Code Quiz
50

Common Big-O Complexity Classes

Slides / Video
51

Big-O as an Upper Bound

Slides / Video
52

Definition and Intuition of Big-O Notation

Slides / Video
53

Best, Average, and Worst Case

Flashcard
54

Factorial Time O(n!)

Flashcard
55

Auxiliary Space vs Total Space

Flashcard
56

Complexity of Nested Loops

Flashcard
57

Dropping Lower-Order Terms

Flashcard
58

Quadratic Time O(n^2)

Flashcard
59

Logarithmic Time O(log n)

Flashcard
60

Constant Time O(1)

Flashcard
61

Complexity of Single Loops

Flashcard
62

Big-O Formal Notation and Meaning

Flashcard
63

Linear Time O(n)

Flashcard
64

Counting Operations

Flashcard
65

Exponential Time O(2^n)

Flashcard
66

Dropping Constants in Big-O

Flashcard
67

Comparing Growth Rates

Flashcard
68

Sequential Statements (Addition)

Flashcard
69

Big-Theta Notation

Flashcard
70

Why We Focus on Worst Case

Flashcard
71

How Runtime Grows as Input Grows

Slides / Video
72

Input Size n: The Basis of Analysis

Slides / Video
73

Counting Operations to Estimate Cost

Slides / Video
Flashcard

Time/Space Trade-offs in Big-O Analysis

Understanding how algorithms often exchange extra memory for faster runtime, and why worst-case Big-O alone can mislead.

Question

What is a time/space trade-off, and how does Big-O capture it?

Click to reveal answer