Array Algorithms and Techniques
Arrays are where most coding interviews begin, and where the highest-leverage techniques live. Two pointers, sliding window and prefix sums between them turn a large share of quadratic brute-force solutions into linear ones, which is usually the entire difference between a passing and a failing answer.
The visualizers matter more here than almost anywhere else, because these techniques are defined by index movement. Watching a left pointer advance only when a constraint breaks makes the sliding window rule obvious in a way that reading the loop condition does not. Once these are solid, the same techniques reappear as named patterns in the interview pattern library.
6
Interactive lessons4
Free to open4
Languages (JS, Python, Java, C++)Arrays lessons
Continue the DSA curriculum
Arrays is one of 12 topics in the interactive DSA visualizer curriculum. Once this topic is comfortable, the coding interview pattern library reorganises the same material around the patterns interview questions are built on.
Every other DSA visualizer
Data Structures · 28 lessons
- StackFree
- QueueFree
- Deque
- Circular Queue
- Priority Queue (ADT)
- Tree Traversal
- Binary Tree
- Binary Search Tree
- AVL Tree
- Trie (Prefix Tree)
- Segment Tree
- Fenwick Tree
- Red-Black Tree
- Singly Linked List
- Doubly Linked List
- Circular Linked List
- Graph RepresentationFree
- Breadth/Depth First SearchFree
- Depth First Search
- Topological Sort
- Cycle Detection
- Connected Components
- Bipartite Graph
- Dijkstra's Algorithm
- Bellman-Ford Algorithm
- Minimum Spanning Tree
- Floyd-Warshall Algorithm
- Bridges & Articulation Points
