Binary Search in Programming

programming
New answer on May 22, 2020
4 Answers
416 Views
Ankit asked on Apr 10, 2020

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

Overview of answers

Upvotes
  • Upvotes
  • Date ascending
  • Date descending
Best answer
Anonymous replied on May 22, 2020

Agree with experts here

André

Was this answer helpful?
1
Antonello
Expert
Content Creator
replied on Apr 30, 2020
McKinsey | MBA professor for consulting interviews

Hi Ankit, I confirm it will be very difficult to find here experts about these topit

Best,
Antonello

Was this answer helpful?
Luca
Expert
Content Creator
updated an answer on Apr 11, 2020
BCG |NASA |20+ interviews with 100% success rate| 120+ students coached |GMAT expert 780/800 score

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

(edited)

Was this answer helpful?
Clara
Expert
Content Creator
replied on Apr 10, 2020
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!

Was this answer helpful?