Thursday, August 22, 2019

Case study: Rotated Sorted array

August 22, 2019

Introduction


I like to write a case study how the interviewee performed on this algorithm in my mock interview. As an interviewer, I observed how she worked hard and solved the algorithm. It took her 40 minutes.

Case study


Here is the C++ code for me to do code review. The interviewee tried a few test cases and then she figured out how to write correct solution. It took her more than 25 minutes,  but definitely she was on the track.

No comments:

Post a Comment