Search Algorithms

Visualize and understand how different search algorithms work step by step.

About Search Algorithms
Search algorithms are methods for finding a specific element within a collection of data.

This visualization tool helps you understand how different search algorithms locate an element in an array. You can control the search process step by step, change the array size, and select different algorithms to compare their efficiency and behavior.

Linear Search

Sequentially checks each element until a match is found or the whole array is searched. Time Complexity: O(n)

Binary Search

Divides the search interval in half repeatedly until the target value is found or the interval is empty. Time Complexity: O(log n)

Jump Search

Jumps ahead by fixed steps and then uses linear search to find the element. Time Complexity: O(√n)

Settings
Configure the search algorithm and array.
Search Controls
Start and control the search process.

Step 0 of 0

781112131721252630

Ready to search

Target not found in the array
Step: 0 of 0