Saturday, February 3, 2018

Binary search algorithm

Feb. 3, 2018

Introduction


It is so interesting to know that mock interview is shorter than ever before. I met a peer who had intern experience with top software companies, and then he only spent less than 10 minutes to write the code and pass all test cases.

Both of us finished mock interview algorithms in less than 30 minutes.

Binary search algorithm


Here is Java code related to binary search.




2 comments:

  1. Hi Jianmin, Thank you for posting this. Can I join you guys's mock
    Thanks,
    Allen

    ReplyDelete
  2. Hi, Allen, nice to read your comment. I met an anonymous peer on this mock interview. But I do have an offer to practice with another peer, you may join us if you like. Keep up the hard work. julia

    ReplyDelete