Amazon SDE Phone interview experience
Anonymous User
2509

Question: You have access to a stream of stock orders. Each order includes the stock name, volume and timestamp.
Write a program, that can be queried at any time, to find the top 5 stocks traded by volume in the last 5 minutes.
stockStream(String stockName, int volume, long timestamp)
(AAPL, 12, timestamp)
(GOOG, 14, timestamp)
(AMZN, 15, timestamp)
(MSFT, 10, timestamp)
I got asked 2 behavioral questions, how did you handle difficult situation and how did you deal with challenges with customers.

Comments (7)