Midterm Prep
41 real exam questions mapped to course topics
Every question below appeared in an actual BME Theory of Algorithms midterm. They are organized by topic so you can practice exactly what will be tested. Each question is worth 10 points.
41
Total Questions
21
Midterm 1 Topics
20
Midterm 2 Topics
7
Exam Sources
Expected Question Distribution
Estimated from patterns across all past midterms — 7 questions, 10 points each, 70 total
Midterm 1
Most Tested Topics
How many times each topic appeared across all past midterms
Midterm 1 Questions
Covers: Big-O, DFS/BFS, Dijkstra, DAG paths, Dynamic Programming
Midterm 2 Questions
Covers: Heaps, BSTs, 2-3 Trees, Hashing, MST, NP-completeness, Data Structures
Midterm Study Strategy
- - Midterm 1 focuses on: Big-O proofs (always Q1), DFS/BFS graph problems, Dijkstra table reading, and DP algorithm design
- - Midterm 2 focuses on: Heap operations, BST/RB-tree/2-3 tree analysis, hashing, MST applications, NP/coNP proofs, and data structure design
- - Every midterm has exactly 7 questions worth 10 points each
- - Practice with pen and paper — trace algorithms by hand just like the exam requires
- - For DP questions, always follow the 8-step template: subproblems, order, start, continue, end, correctness, running time, optimal object
- - For NP-completeness: always show (1) the problem is in NP with a witness, and (2) reduce FROM a known NP-complete problem TO yours