Asking for a friend, How important is it to do LC Hard for on site interview prep for SDE2 at Amazon? Any interviewers out there to comment? What is the interviewer looking for? Full code? Approach? Thanks!
LP hard. Like tell me a time when you go against your manager's command
I had one hard, one medium, one easy, and one system design. So I guess it varies.
I had a graph LC hard from leetcode. So you can expect a question
No LC hard. LC mid + LP hard.
Actually I was asked LC hard that Ive never seen before. After a short difcussion I came up with O(n^3) and the interview told me to go ahead with that idea. Minutes later I found out a better solution with O(n^2logn) but the interviewer said it couldnt be better than n^3 but couldnt tell me why and couldnt prove that my idea is wrong. After further debate he asked me to go ahead with my idea. Unfortunately I couldnt finish my code due to lack of time, and I thought I totally messed up the round and failed the interview. However I got an offer after few days. Very weird.
Thanks guys! I will pass the info along.
Focus on leadership principle questions as much as the LC medium problems
How about LC Hard?