Amazon | SDE2 | Canada | May 2021 [Offer]
Anonymous User
3158

3YoE
Position: SDE2 at Amazon
Location: Canada
Date: 4th May, 2021

  1. Online Assessment : 
2 coding questions + work-style assessment

    1. Count all the numbers that are right side of it and lesser (bubble sort - TLE , merge sort accepted)
      https://leetcode.com/problems/count-of-smaller-numbers-after-self/ - Number of swaps selection sort - Done - Merge Sort Approach
    2. Robot with direction instructions : should be in the circle after all the instruction processing (using normal x, y = 0,0, then 4 directions up, down, left and right)
      https://leetcode.com/problems/robot-bounded-in-circle/ - Robot Bounded In Circle - Done
  2. Onsite 1 :

    1. 2 LPs
    2. getMin(), hasNext() of (list of lists)
  3. Onsite 2 :

    1. 2 LPs
    2. getRandom(), add, remove, search() constant time O(1)
    3. Followup, how do you handle if multiple request comes, dirty read issues, how do you maintain critical section
  4. Onsite 3 :

    1. 2 LPs
    2. Design ElevatorSystem with 4 elevators, get optimal elevator to near
  5. Onsite 4 :

    1. 2 LPs
    2. Design priority score calculator for each appointment in amazon warehouse. Explanation : Design a system which maintains details about many warehouses and loading and unloading details at each warehouse. The system should optimally work for all the warehouses and able to maintain the queue for unloading the shipment.
Comments (6)