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_...
BigO in 100 Seconds • BigO Notation in 100 Seconds
Recursion in 100 seconds • Recursion in 100 Seconds
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
vscodeicons
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?
BigO Time complexity of binary search