Hello Everyone, I am new in this community and I am a graduate of B.tech in computer science and I am preparing myself to get a job in the IT industry. So I am covering basic programming questions and I am confused in the binary search working cycle. As my research, it is best applied to a list in which all the elements are already sorted. The binary search starts with searching in the middle of the list. Can anyone know is it the right information or can anyone know the best scenario for using a binary search? I am learning this list right now - https://hackr.io/blog/programming-interview-questions
Back to overview
10
4
Binary Search in Programming
4
1.5k
Be the first to answer!
Nobody has responded to this question yet.
Top answer
Deleted user
on May 22, 2020
Agree with experts here
André
0 comments
Clara
on Apr 10, 2020
Coach
McKinsey | Awarded professor at Master in Management @ IE | MBA at MIT |+180 students coached | Integrated FIT Guide aut
Hello!
Agree with the 1st answer, given that this Q&A is targetted to people who want to get into consulting, probably is not the best forum for you...
Good luck in the prep!
Luca
edited on Apr 11, 2020
Coach
BCG |NASA | SDA Bocconi & Cattolica partner | GMAT expert 780/800 score | 200+ students coached
Hello Ankit,
Unless there won't be a data scientist consultant that reads your question, it's really unlikely that you can fin an answer to this on Preplounge :)
Best,
Luca
Antonello
on Apr 30, 2020
Coach
McKinsey | NASA | top 10 FT MBA professor for consulting interviews | 6+ years of coaching
Hi Ankit, I confirm it will be very difficult to find here experts about these topit
Best,
Antonello
Sign up for free to read all answers.
Sign up for free to read all answers.
Similar Questions
Most Popular Posts
Applying to McKinsey Riyadh as a non-Saudi (Norwegian citizen, fluent Arabic): Visa logistics and in-person interview requirements?
11
on Nov 09, 2025
Middle East
5
100+
Top answer by
Sherif
Coach
Ex Sr. Engagement Manager with McKinsey - Aug 25 - Top EEMA interviewer 2023 - 2024 with +350 interviews
5 Answers
100+ Views
+2
What to do after R2 rejection
9
on Nov 09, 2025
USA
6
100+
Top answer by
Evelina
Coach
EY-Parthenon l Coached 300+ candidates into MBB & Tier-2 l 10% off first session l LBS graduate l Free intro call
6 Answers
100+ Views
+3
BCG Final: Follow Up with another offer
8
on Nov 10, 2025
Asia
8
100+
Top answer by
Hafeezah
Coach
1st session -50% | Ex-McKinsey, Ex-Coca-Cola Strategy |Offical McKinsey Case Coach | +250 coaching sessions
8 Answers
100+ Views
+5
Did I actually “fail” the McKinsey recruiter screen, or is this normal for experienced hire?
14
on Nov 13, 2025
Global
7
100+
Top answer by
Kevin
Coach
Ex-Bain (London) | Private Equity & M&A | 12+ Yrs Experience | The Reflex Method | Free Intro Call
7 Answers
100+ Views
+4
Is it okay to follow up after an early rejection?
13
on Nov 13, 2025
Middle East
7
100+
Top answer by
Annika
Coach
30% off first session | Bain | MBB Coach | ICF Coach | HEC Paris MBA | 13+ years experience
7 Answers
100+ Views
+4