Friday, March 20, 2020

Case study: Search in rotated sorted array

It is so surprising for me to learn good performance from a software engineer in Seattle. I had onsite interview on this algorithm in 2019 but I failed to write a correct solution, since my code has a few flaws, missing edge case etc.

Here is the code the interviewee wrote.


Interviewer feedback



Interviewee feedback



No comments:

Post a Comment