All Visualizers

DSA Visualizer

Interactive visualizations for data structures, algorithms, sorting, searching, trees, graphs, dynamic programming, and interview preparation

Arrays & Strings

Two pointers, sliding window, prefix sum, matrix patterns

Two-Pointer Technique

Use two pointers that move toward each other (or in the same direction) to solve problems onsorted arraysor strings in O(n) time.

Two Sum II — Target: 16

1
3
5
7
9
11
15

L=0

1+15=16 → Found!

R=6

Two Sum II (Sorted Array)

Reverse String In-Place

Valid Palindrome

Container With Most Water