arrays
3 problems, easiest first. Every one is open — nothing here is locked behind the others.
0 / 3 solved
| Solved | Problem | Topic | Difficulty |
|---|---|---|---|
| Running Sum | arrays | easy | |
| Maximum Subarray | arrays | medium | |
| Product of Array Except Self | arrays | medium |
Then build one
These problems are one function each. A build challenge is the same ideas assembled into a working thing across several files.
- Hash MapConstruct a high-performance hash map with bucket arrays, modular hashing, collision chaining, and dynamic rehashing.4 stepsjavascript · pythonmedium
- Binary Min-HeapConstruct an array-backed binary min-heap with parent/child arithmetic, siftUp, siftDown, and linear-time heapify.4 stepsjavascript · pythonmedium
Stuck on the pattern rather than the problem? The arrays lesson walks through it with an animation you can step through.