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
Schedule mock interviews on the Meeting Board, join the latest community discussions in our Consulting Q&A and find like-minded Interview Partners to connect and practice with!
Back to overview
8
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
How to balance case-specific and classic frameworks during structuring?
11
on Oct 10, 2025
Global
10
100+
Consultant with offers from McK, BCG, and others. LBS MBA. Received interview invites from almost every firm applied to
10 Answers
100+ Views
+7
Leadership examples PEI question MCK
13
on Oct 10, 2025
Europe
7
100+
Top answer by
Pedro
Coach
Most Senior Coach @ Preplounge: Bain | EY-Parthenon | RB | Principal level interviewer | PEI Expert | 30% in October
7 Answers
100+ Views
K
+4
Teneo Consulting TestGorilla Math Assessment Prep
22
on Oct 11, 2025
USA
3
400+
Top answer by
Jenny
Coach
Buy 1 get 1 free for 1st time clients | Ex-McKinsey Manager & Interviewer | +7 yrs Coaching | Go from good to great
3 Answers
400+ Views
Trouble with brainstorming
13
on Oct 12, 2025
USA
8
100+
Top answer by
Sidi
Coach
McKinsey Senior EM & BCG Consultant | Interviewer at McK & BCG for 7 years | Coached 500+ candidates secure MBB offers
8 Answers
100+ Views
+5
Final question to ask to the interviewer, MCK
13
on Oct 12, 2025
Europe
6
200+
Top answer by
Seongyun
Coach
Current OW Interviewer | Offers from McKinsey, OW, All Big 4 Strategy Houses | CV & Cover Letter Review
6 Answers
200+ Views
+3