Amazon | SDE2 | Vancouver | May 2020 [Offer]
Anonymous User
2476

Experience: 3 years
Position SDE 2 in Berlin

For the Online Assessment two coding questions:
A variation of https://leetcode.com/problems/rotting-oranges/ and also a variation of https://leetcode.com/problems/number-of-islands/

The Virtual Onsite was 4 hours long plus a 20 minute break between 2nd and 3rd interviews.
All 4 heavily focused on Leadership Principles this taking at least half of each interview time.

The first interview was a coding interview: https://leetcode.com/problems/first-unique-number/

For the second interview I couldn't find the exact match:

Given a file in json format:

{[
  {"time": "2020-01-01T01:00:10-0000", "device":"tv"},
  {"time": "2020-01-02T00:00:10-0000", "device":"laptop"},
  {"time": "2020-01-03T00:00:20-0000", "device":"cellphone"},
  ...
]}

Write a class to give back the 3 busiest strips for all days and the 3 most used most used devices in these 3 busiest hours.
A strip is a range of 1 hour, e.g.: 00 - 00.59, 01:00 - 01:59 ... In total 24 strips. In the json above this means strip 00:00 - 00:59 was the busiest with two entries for example.

I couldn't find anything similar but it may come close to a variation of this one: https://leetcode.com/problems/top-k-frequent-elements/

The third interview was a system design: design a train ticketing system

The forth interview was should be a system design but it went more to OO side: imagine a website where the users enter their details for a payment. But when the user enters something wrong an error message should signalize the error. How would you implement this? (this went more to abstract classes, interfaces etc)

Comments (7)