Additional Practice Questions
These are additional practice questions from Leetcode that are solvable with what you have learned in CS201. However, some of them require much more creativity and cleverness than others! If you’re stuck on one of them, try another.
| Problem | Relevant Lecture |
|---|---|
| Linked List Cycle | 6R/7T (Linked Lists) |
| Merge Two Sorted Lists | 6R/7T (Linked Lists) |
| Maximum Nesting Depth of the Parentheses | 7R (Stacks and Queues) |
| Cousins in Binary Tree | 8T (Trees) |
| Average of Levels in Binary Tree | 8T (Trees) |
| Sum of Left Leaves | 8T (Trees) |
| Same Tree | 8T (Trees) |
| Flatten Binary Tree to Linked List | 8T (Trees) |
| Increasing Order Search Tree | 9R (Binary Search Trees) |
| Convert Sorted Array to Binary Search Tree | 9R (Binary Search Trees) |
| Balanced Binary Tree | 10T (Balanced Binary Search Trees) |
| Check if Number Has Equal Digit Count and Digit Value | 10R/11T (Hash Tables) |
| Find Center of Star Graph | 12T/12R (Graphs, BFS, DFS) |
| Find Champion II | 12T/12R (Graphs, BFS, DFS) |
| Node With Highest Edge Score | 12T/12R (Graphs, BFS, DFS) |
| Flood Fill | 12T/12R (Graphs, BFS, DFS) |
| Max Area of Island | 12T/12R (Graphs, BFS, DFS) |