DSA · Intermediate · Pattern 10 of 10
Mixed Practice
12 problems drawn from every pattern in this level. The pattern is not labelled: identifying it is part of the exercise.
Your progress0%
- 1st Visit
- 0/12
- 2nd Visit
- 0/12
- Revise
- 0/12
About this set
This set closes the Intermediate level with twelve problems drawn from its patterns, including sliding windows, binary search on the answer, monotonic stacks, binary trees, heaps, backtracking, greedy algorithms, graph traversal and 1-D dynamic programming. The pattern label is deliberately hidden, because recognising the technique is often harder than implementing it.
For each problem, read the constraints, decide which pattern fits and why, and estimate the complexity before writing code. Some problems admit more than one approach, and comparing them is part of the exercise. If a first attempt stalls, return to the relevant pattern description and check which signals you missed.