Deepwatch

Keyboard shortcuts

Space or k
Play or pause
j and l
Back or forward 10 seconds
Left and right arrows
Back or forward 5 seconds
f
Fullscreen
m
Mute or unmute
Shift and < or >
Slower or faster
?
Show or hide this list

Binary Search Algorithm in 100 Seconds

Fireship, 2 min, 820.6K views, Mar 23, 2022

Show description

Binary Search is an algorithm that can find the index of an element in a sorted array data structure. You've likely used Binary Search it in everyday life without even realizing it. #compsci #programming #100SecondsOfCode šŸ”— Resources Binary Search https://en.wikipedia.org/wiki/Binary_search_algorithm Big-O in 100 Seconds https://youtu.be/g2o22C3CRfU Recursion in 100 seconds https://youtu.be/rf60MejMz3E šŸ”„ Get More Content - Upgrade to PRO Upgrade to Fireship PRO at https://fireship.io/pro Use code lORhwXd2 for 25% off your first payment. šŸŽØ My Editor Settings - Atom One Dark - vscode-icons - Fira Code Font šŸ”– Topics Covered - Binary Search in JavaScript - How does binary search work? - When was binary search first used? - How code recursive binary search? - Big-O Time complexity of binary search

When you're done