Amazon SDE-2 | Interview Loop | USA

Anonymous User
1405
Oct 17, 2024
Oct 30, 2024

Round 1:
Brief introduction.

Question -
Aim is to get the count of users who have had the least number of logins in the past 24 hours.
Possible solution - All the operations are required to be done in O(1). Using a Map<user, loginCount> and a doubly linkedlist (count, list of users) would be a good approach here.

Round 2:
Started with LP -

  1. Tell me about a time when you had to go against the norm and push for a change. Give an example where you persisted.
  2. Tell me about a time where you had to show bias for action in a tight deadline scenario.

System Design:

Design a logging system.

  1. There are lot of applications. Each application has multiple servers from where logs are getting generated
  2. Store the logs - search past 30 days - rest have it persisted
  3. 1-2 minutes lag
  4. Different types of logs - info, debug, error
  5. Search based on - date, date range, aaplication, logtype, message text

Non functional requirements - stress upon durability of the system and handling failure cases, data estimates.


Round 3:

Leadership principle questions: Experience working on a complex project, drilled down on details. When you execeeded customer expectations.

Code a rate limiter. What are the design considerations in terms of handling multithreaded versus single application.

Implement an LRU Cache.


Round 4

Asked my experience working for an innovative project that I started or became part of. Also, when I had to deep dive into an issue to resolve it.

There was a question about finding the number of ancestors of a person. Also, info about ancestors from oldest to newest.


Waiting for the results now.

Comments (9)