Amazon SDE 1 - Online Assessment

There were actually 4 questions in which 2 of them are coding questions and 2 of them are for explaining the approach of the solutions. It was then followed by some leadership questions in which I have to choose the options that I am more aligned to.

Coding Questions:

  1. It is basically a two-sum problem with some tweaks into it.
  2. It included a grid and there were 3 options, first 0 represents the open space in which we can go, 1 represents the places that we can't go and 2 represents the obstacle that we have to remove. We basically have to find the number of steps to be taken to reach the obstacle from (0,0) position in the grid.
Comments (2)