Open In App

Amazon Interview Experience for SDE-2 (2+ Year Experience)

Coding Round: There were two coding questions.
1. Given Array Of Strings, Find Pairs of Strings that have a difference of 1 right rotation. Example – “abc” after 1 round rotation will be “bcd”

Input – [“abc”, “efg”, “bcd”, “cde”, “bcd”]
Output – 4
Explanation – (“abc”, “bcd”), (“abc”, “bcd”), (“bcd”, “cde”), (“bcd”, “cde”)

2. https://leetcode.com/discuss/interview-question/1636493/amazon-online-assessment-questions



Round 1:
1. Tell me about a time when you have solved an issue that was causing issues to customers and you have done differently.
2. Tell me about a time when you had anticipated a requirement from a client and did it beforehand when the actual requirement came.
3. Given version number from 1 to n, there is an API, checkFaulty() which on passing version number returns true if the version is faulty otherwise returns false. All the versions after faulty versions are faulty, you have to find the first faulty version with fewer API calls.

          Input – Versions  = 7
          Faulty = 6

4.  Find the index of the first element in a list that is unique.



          Input – [2, 3, 1, 2,1]
          Output – 1

Round 2:
1. Tell me about a time when you handle a tough challenging task
2. Design a Token System, where the user can book a timeslot and get a token corresponding to that. This system can be used in Gyms. Grocery Shops, Hospitals
 

Article Tags :