Bornat Visualizer
AlgorithmsData StructuresNeural NetPracticePlaygroundCompareDocs

Searching Algorithms

Linear scans to logarithmic jumps — see exactly how each search narrows the field.

6 visualizations

Compare

Linear Search

Scans elements one by one until the target is found or the array ends — works on any array.

Beginnersequentialunsorted ok

Binary Search

Repeatedly halves a sorted array, comparing the middle element to the target — O(log n) lookups.

Beginnerdivide & conquersorted required

Jump Search

Jumps ahead in fixed √n blocks on a sorted array, then scans the block that must contain the target.

Beginnersorted requiredblock search

Interpolation Search

Predicts the target's index by linear interpolation on value — near O(log log n) on uniformly distributed data.

Intermediatesorted requireduniform data

Exponential Search

Doubles a range bound until it passes the target, then binary-searches that range — great for unbounded lists.

Intermediatesorted requiredunbounded

Ternary Search

Divides a sorted range into three parts with two midpoints, discarding two-thirds each step.

Intermediatesorted requireddivide by 3
Bornat Data Structure Visualizer

Learn, visualize, experiment, and master data structures & algorithms with fully interactive, step-by-step animations.

Made with by Jibreel Bornat

Computer Engineering — Birzeit University

Explore

  • Sorting
  • Searching
  • Linked Lists
  • Stacks & Queues
  • Hashing
  • Trees
  • Graphs

App

  • All Algorithms
  • Practice
  • Playground
  • Documentation
  • About
  • Settings
Bornat Data Structure Visualizer© All Rights Reserved