Algorithm Problems & Concepts
★ Quiz Mode ★
Test your knowledge with a custom or random quiz.
1. Classroom Assignment
Greedy algorithm for interval scheduling.
2. Longest Subsequence
Dynamic programming for the longest non-decreasing subsequence.
3. Coin Game
Dynamic programming for an adversarial game.
4. Closest Pair of Points
Divide and conquer algorithm.
5. Canoe Rental
Dynamic programming for finding the cheapest path.
6. Restore Spaces
Dynamic programming for sequence segmentation.
7. Max Sum Subsequence
Dynamic programming for the maximum sum increasing subsequence.
8. Largest All-Ones Square
Dynamic programming on a 2D grid.
9. Majority Element
Sorting and the Boyer-Moore Voting Algorithm.
10. Coin Change
Dynamic programming for minimum coins.
11. Gas Station Stops
Greedy algorithm for minimum refueling stops.
12. Maximal Value of Gifts
Dynamic programming on a 2D grid.
13. Unit Interval Covering
Greedy algorithm for covering points.
14. Two Arrays Sum
A sort-and-search approach to a Two-Sum problem.
15. Longest Subsequence (Repeat)
Same as question #2.
16. Book Shelving
Dynamic programming for optimal partitioning.
17. Amusement Park Rides
Dynamic programming with time as the state.
Big O Complexity Analysis
A guide to common complexities with an interactive quiz.
The Master Theorem
A guide to solving recurrence relations with a practice tool.
Linked List Data Structure
A from-scratch prototype and explainer.
Recursive Complexity
Methods for analyzing recursive algorithms.