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

67 items

1

Off-by-One in Duplicate Check

Code Quiz
2

Big-O of a Simple Loop

Quiz
3

Big-O Notation Basics

Slides / Video
4

Big-O Notation Basics

Flashcard
5

Big-O for Time and Space

Slides / Video
6

Big-O Time & Space Basics

Flashcard
7

Big-Omega Notation

Flashcard
8

Linearithmic Time O(n log n)

Flashcard
9

Linear Time O(n)

Quiz
10

Dropping Lower-Order Terms

Quiz
11

Dropping Constants

Quiz
12

Counting Basic Operations

Quiz
13

Ordering Complexity Classes

Quiz
14

Exponential Time O(2^n)

Quiz
15

Linearithmic Time O(n log n)

Quiz
16

Quadratic Time O(n^2)

Quiz
17

Logarithmic Time O(log n)

Quiz
18

Sequential Code Blocks

Quiz
19

Constant Time O(1)

Quiz
20

How Runtime Scales

Quiz
21

Input Size Drives Complexity

Quiz
22

Complexity of Nested Loops

Quiz
23

Complexity of a Single Loop

Quiz
24

What Complexity Analysis Is and Why It Matters

Slides / Video
25

Using Complexity to Compare Algorithms

Slides / Video
26

Best, Average, and Worst Case

Slides / Video
27

Space Complexity Basics

Slides / Video
28

Analyzing Nested Loops for Time Complexity

Slides / Video
29

Analyzing Simple Loops for Time Complexity

Slides / Video
30

Dropping Constants and Lower-Order Terms

Slides / Video
31

Ranking Common Complexity Classes

Slides / Video
32

Halving Loop Logarithmic Time

Code Quiz
33

Ordering Growth Rates

Code Quiz
34

Constant Time Array Access

Code Quiz
35

Single Loop Linear Time

Code Quiz
36

Nested Loops Quadratic Time

Code Quiz
37

Sort Then Loop Complexity

Code Quiz
38

Dropping Constants In Big-O

Code Quiz
39

Summing Sequential Loops

Code Quiz
40

Two Input Variables

Code Quiz
41

Space Complexity Of Copy

Code Quiz
42

Worst Case Of Linear Search

Code Quiz
43

Loop With Doubling Step

Code Quiz
44

Common Big-O Complexity Classes

Slides / Video
45

Big-O as an Upper Bound

Slides / Video
46

Definition and Intuition of Big-O Notation

Slides / Video
47

Dropping Lower-Order Terms

Flashcard
48

Quadratic Time O(n^2)

Flashcard
49

Logarithmic Time O(log n)

Flashcard
50

Constant Time O(1)

Flashcard
51

Complexity of Single Loops

Flashcard
52

Exponential Time O(2^n)

Flashcard
53

Counting Operations

Flashcard
54

Dropping Constants in Big-O

Flashcard
55

Best, Average, and Worst Case

Flashcard
56

Linear Time O(n)

Flashcard
57

Big-O Formal Notation and Meaning

Flashcard
58

Why We Focus on Worst Case

Flashcard
59

Big-Theta Notation

Flashcard
60

Comparing Growth Rates

Flashcard
61

Auxiliary Space vs Total Space

Flashcard
62

Complexity of Nested Loops

Flashcard
63

Factorial Time O(n!)

Flashcard
64

Sequential Statements (Addition)

Flashcard
65

How Runtime Grows as Input Grows

Slides / Video
66

Input Size n: The Basis of Analysis

Slides / Video
67

Counting Operations to Estimate Cost

Slides / Video
QuizAdvanced

Big-O of a Simple Loop

Identify the time complexity of a single loop iterating over an array.

What is the time complexity of a single loop that iterates once over every element of an array of size n, doing constant work per element?