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
I am expecting interviews at Oliver Wyman for the DACH offices. What type of cases should be my focus and how does the process look like?
12
on Jul 22, 2026
DACH
5
100+
Top answer by
Elvira
Coach
Senior Manager zeb Consulting | Case Interview & Personal Fit Coach | CV Review | Banking & Consulting
5 Answers
100+ Views
+2
Applied to McKinsey ME office, status is "under review" but no Solve invite yet, is this normal?
12
on Jul 22, 2026
Middle East
5
100+
Top answer by
Federico
Coach
Ex-BCG Partner | Interviewer and Career Advisor | Fully tailored approach
5 Answers
100+ Views
+2
Rejected by Bain without a test?
12
on Jul 24, 2026
Global
6
100+
Top answer by
Alessandro
Coach
McKinsey Senior Engagement Manager | Interviewer Lead | 1,000+ real MBB interviews | 2026 Solve, PEI, AI-case specialist
6 Answers
100+ Views
+3
Pivoting from big tech to consulting
12
on Jul 24, 2026
Middle East
7
100+
Top answer by
Alessandro
Coach
McKinsey Senior Engagement Manager | Interviewer Lead | 1,000+ real MBB interviews | 2026 Solve, PEI, AI-case specialist
7 Answers
100+ Views
+4
Issue Tree vs. Action Plan in Case Interview Structure
15
on Jul 25, 2026
Global
7
100+
Top answer by
Alessandro
Coach
McKinsey Senior Engagement Manager | Interviewer Lead | 1,000+ real MBB interviews | 2026 Solve, PEI, AI-case specialist
7 Answers
100+ Views
+4