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.8k
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
Had BCG Final Rounds for SEA anyone waiting to hear back/interviewing?
21
on Jun 01, 2026
Asia
6
200+
Top answer by
Ashwin
Coach
Ex-Bain | Help 500+ aspirants secure MBB offers
6 Answers
200+ Views
+3
When to apply to MBB (ADP route)?
8
on Jun 01, 2026
Global
7
100+
Top answer by
Tommaso
Coach
Ex-McKinsey | MBA @ Berkeley Haas | Experienced Hire Specialist | 50% off on 1st meeting in June (DM me for promo code!)
7 Answers
100+ Views
+4
Question regarding referrals
9
on Jun 01, 2026
Canada
5
100+
Top answer by
Franco
Coach
Ex BCG Principal & Global Interviewer (10+ Years) | 100+ MBB Offers | 95% Success Rate
5 Answers
100+ Views
+2
How do you actually know if you did well in an interviewer-led case?
15
on Jun 04, 2026
Europe
7
100+
Top answer by
Bogdan
Coach
MBB & Tier-2 Consulting Interview Coach | Ex-McKinsey, Kearney & Alvarez & Marsal | CV Review | Free 15-minute Intro
7 Answers
100+ Views
+4
What is the cool off period for Bain?
13
on Jun 07, 2026
Middle East
5
200+
Top answer by
Franco
Coach
Ex BCG Principal & Global Interviewer (10+ Years) | 100+ MBB Offers | 95% Success Rate
5 Answers
200+ Views
+2