← Back to Searching

Search Algorithms — Computational Experiment

Enter an array and a value, then run three search algorithms on the same data. Compare how many elements each one examines. Binary search requires a sorted array: try it on unsorted data and see what happens. The programs are loaded directly from the DRAKONTech-generated JavaScript files.

Your prediction (optional)

Will binary search find this value on this array?