Learn Algorithms and Data Structures

Understand the fundamentals of computer science through interactive visualizations.

Featured Visualization

Sorting

Bubble Sort

Swaps adjacent elements if out of order.

Sorting

Selection Sort

Repeatedly finds and swaps the smallest element.

Sorting

Insertion Sort

Builds a sorted list by inserting elements in order.

Sorting

Merge Sort

Recursively divides, sorts, and merges subarrays for sorting.

Searching

Linear Search

Checks each element sequentially until the target is found.

Searching

Bineary Search

Repeatedly divides and checks sorted array halves for the target.