Algorithm Visualizer

Linear Search

Time: O(n)

Simple sequential search that checks each element one by one until the target is found.

  • Works on unsorted arrays
  • Simple to implement
  • No preprocessing required
  • Best for small datasets
Explore Linear Search →

Binary Search

Time: O(log n)

Fast searching technique that divides the sorted array in half with each comparison.

  • Works on sorted arrays
  • Logarithmic time complexity
  • Divide and conquer approach
  • Extremely efficient for large datasets
Explore Binary Search →

Bubble Sort

Time: O(n²)

Classic sorting algorithm that repeatedly swaps adjacent elements if they're in wrong order.

  • Comparison-based sorting
  • In-place algorithm
  • Stable sorting method
  • Easy to understand
Explore Bubble Sort →