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
Yup, apparently the recruiter also advised to work on LP
I think the LPs are almost more important than the coding aspect. If you do okay at coding and great at LPs, it's likely better than doing great at coding and okay at LPs.
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.
Was your idea correct though? Basically was it solvable in n^2logn or is n cubed the best?
Sorry I dont seem to recall what the question was at all. But I remember I was very sure that my approach was correct, and it was using heap..
Thanks guys! I will pass the info along.
India
15h
592
'Hindutva': The Radical Hindu Ideology That Seeks to 'Push Christianity Out of India’
World Conflicts
13h
517
Israeli precision-guided munition likely killed group of children playing foosball in Gaza, weapons experts say
Personal Finance
Yesterday
2110
Rate my NW
World Conflicts
12h
384
Why I Find Free Palestine Inspiring
Personal Finance
8h
969
Thank you AAPL and NVDA
Focus on leadership principle questions as much as the LC medium problems
How about LC Hard?