MENU

Fun & Interesting

What is Binary Search?

freeCodeCamp.org 77,476 4 years ago
Video Not Working? Fix It Now

In this tutorial, you will learn about binary search. This will include what it is, as well as how to use it to solve problems. You will learn how to implement binary search using C++. ✏️ This course was created by mycodeschool. Check out their channel: https://www.youtube.com/user/mycodeschool ⭐️ Course Contents ⭐️ ⌨️ (0:00:00) What is Binary Search ⌨️ (0:12:56) Implementation and common errors ⌨️ (0:23:19) Recursive implementation ⌨️ (0:32:41) Finding the first or last occurrence of a number ⌨️ (0:43:21) Count occurrences of a number in a sorted array with duplicates ⌨️ (0:56:00) How many times is a sorted array rotated? ⌨️ (1:09:17) Search element in a circular sorted array 🎉 Thanks to our Champion and Sponsor supporters: 👾 Wong Voon jinq 👾 hexploitation 👾 Katia Moran 👾 BlckPhantom 👾 Nick Raker 👾 Otis Morgan 👾 DeezMaster 👾 Treehouse ____________ Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://freecodecamp.org/news ❤️ Support for this channel comes from our friends at Scrimba – the coding platform that's reinvented interactive learning: https://scrimba.com/freecodecamp

Comment