Was a simple overall conversation, with 2 coding questions. I also applied for the Software Engineer 2020 position:
- Given a sorted rotated array (Rotated at unknown point), find the highest element. My interviewer mentioned to consider the edge cases where the highest number is at the beggining, where the highest number is at the end, and where there is a large data set that we are working with. If it is a large data set, you are going to have to do binary search. [Ex. {5, 7, 10, 15, 1, 3}. Answer is 15] Similar question: https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/
- Given an array of numbers, output them in increasing frequency, and in descending order. For example: {3, 4, 2, 5, 2, 3, 4, 3, 6} which would give us {6, 5, 4, 4, 2, 2, 3, 3, 3}.
Overall was an enjoyable experience, and my interviewer liked that I mentioned the brute force way of going about it, and the optimized way of going about solving them. Would definitely suggest looking over leetcode versions of these codes.
I passed onto round 2, and will update on how that goes.
Comments (10)


