Problems
Every problem here is original, with an editor to try it, hints when you are stuck, and a full walkthrough. More arrive with each pattern.
| Solved | Problem | Pattern | Difficulty |
|---|---|---|---|
| Pair to target | Hashing and counting | easy | |
| Spot a repeat | Hashing and counting | easy | |
| Letter twins | Hashing and counting | easy | |
| First lonely letter | Hashing and counting | easy | |
| Group the twins | Hashing and counting | medium | |
| Longest run | Hashing and counting | medium | |
| Mirror phrase | Two pointers | easy | |
| Flip in place | Two pointers | easy | |
| Pair in a sorted list | Two pointers | easy | |
| Squash repeats | Two pointers | easy | |
| Biggest tank | Two pointers | medium | |
| Three to zero | Two pointers | medium | |
| Best streak | Sliding window | easy | |
| Longest unique stretch | Sliding window | medium | |
| Shortest to target | Sliding window | medium | |
| Repaint the fence | Sliding window | medium | |
| Hidden shuffle | Sliding window | medium | |
| Two kinds | Sliding window | medium | |
| Find the number | Binary search | easy | |
| Where it would go | Binary search | easy | |
| Whole square root | Binary search | easy | |
| First and last | Binary search | medium | |
| Search a rotated list | Binary search | medium | |
| Slowest speed that finishes | Binary search | medium | |
| Balanced brackets | Stack | easy | |
| Typing with backspace | Stack | easy | |
| Stack with minimum | Stack | medium | |
| Postfix calculator | Stack | medium | |
| Tidy a file path | Stack | medium | |
| Days until warmer | Stack | medium |