Day 11 Practice Questions
Three problems that hit the patterns you’ll see most often in interviews — and that build directly on the Day 11 sorts.
The point of these isn’t to write yet another bubble sort. It’s to recognize when a problem is secretly a sorting problem in disguise. Once you see it, the answer is usually three lines plus a sort call.
Easy
| Problem | Pattern | Status |
|---|---|---|
| Sort Colors | Dutch national flag | Available |
| Merge Sorted Array | Merge from the end | Available |
Hard
| Problem | Pattern | Status |
|---|---|---|
| Count Inversions | Modified merge sort | Available |
More Practice (Coming Soon)
| Problem | Pattern | Status |
|---|---|---|
| Sort an Array | Pick your sort | Coming Soon |
| Largest Number | Custom comparator | Coming Soon |
| Meeting Rooms II | Sort + heap | Coming Soon |
| Reverse Pairs | Modified merge sort | Coming Soon |