DSA Visualized
← All topics
search

Searching

Finding one thing among many — slow, then clever.

01

Linear Search

Check every box until you find it. Simple, honest, and slow.

play_circle
02

Binary Search

Throw away half the list with every single question.

play_circle
03

Ternary Search

Cut into thirds instead of halves — and discover it's actually slower.

play_circle