Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn about binary search in this comprehensive tutorial. Discover what binary search is and how to implement it in C++ to solve various problems. Explore topics including basic implementation, common errors, recursive approaches, finding specific occurrences, counting duplicates in sorted arrays, determining array rotations, and searching in circular sorted arrays. Gain practical skills to efficiently search and manipulate data structures using binary search techniques.
Syllabus
) What is Binary Search.
) Implementation and common errors.
) Recursive implementation.
) Finding the first or last occurrence of a number.
) Count occurrences of a number in a sorted array with duplicates.
) How many times is a sorted array rotated?.
) Search element in a circular sorted array.
Taught by
freeCodeCamp.org