0% Completed

Codebasics Icon
Binary Search - Data Structures & Algorithms Tutorial Python #13

Binary Search - Data Structures & Algorithms Tutorial Python #13

Binary search is a popular search algorithm that can find an element using log(n) time complexity. In this video we will go over theory behind binary search, compare it with linear search and then implement binary search in python.

Code: https://github.com/codebasics/data-structures-algorithms-python/blob/master/algorithms/1_BinarySearch/binarysearch.py

Exercise: https://github.com/codebasics/data-structures-algorithms-python/blob/master/algorithms/1_BinarySearch/binary_search_exercise.md