Amazon interviews are set up random, so these aren't helpful as you think. I have seen people get three easy LC questions and get the job and there is me :(
First problem was this one: https://leetcode.com/problems/top-k-frequent-elements/ -> But more like a system design type of way where there is a method to add numbers to a map and a method that checks for the most frequent element
Second problem was this: https://leetcode.com/problems/find-median-from-data-stream/
Third problem: https://leetcode.com/problems/ugly-number-ii/
Passed the first two with flying colors imo but the last one was dynamic programming and failed to come up even with the bruteforce solution so :(. Was really hoping that my optimized leetcode hard solution for the second solution woud carry me but here I am. I also expected that they would not ask me DP questions, but seems like I should probably prep those a little bit aswell.
PS. This was for SDE1