Amazon | Phone Screen | SDE 2 | Seattle
Anonymous User
1079

Inteview started with brief introduction and then 20 minutes of LP.
35 minutes left of a coding question

  1. Interviewer asked LRU cache to expalain verbally( how efficecntly I can design it) and Time/Space complexity.
  2. Need to desing a parking lot and given with slabs of 2 sizes. Return list of all sizes possible if I could use K slabs at a time.

For eg: slabs are of sizes -> 2 , 1 and K = 3
Output -> [2+2+2, 1+1+1, 2+1+1, 1+2+2] ===> [6, 3, 4, 5]

Comments (4)