- Published on
Amazon | SDE 2 | Interview Experience
- Author
- Shared Anonymously
Took an online assessment prior to the phone interview. Completed both questions in about half the time alotted to complete it - passed all tests for both problems. One was dealing with linked lists and the other dealing with a sorted array to calculate max areas. Both medium level questions. You are then asked various questions about system design.
I was passed onto the next round and was feeling really good about my performance in the initial screening. It was a bit unexpected that LP questions took up about half the time (thought I did well), leaving relatively little time to complete the coding question he had prepared. There were probably multiple ways to solve, but I landed on a BFS solution that I coded about 90% of before running out of time. I then explained the remaining logic for the problem, but that must not have been satisfactory as I receieved a rejection letter a few days later.
Interesting enough there were no tests for that particular problem because there was a pseudofunction that you just assumed to work and return data with the structure of your choice. Fun problem, lots of little edge cases, but was sad to find out my performance wasn't enough. I did finish the solution I had in my head post-interview and it worked as expected. I just needed to get that out faster.
Anyways, I am assuming the lack of finishing the problem was the issue and not the LPs, but I could be wrong since they do not provide feedback.