Amazon·Software Engineer·Onsite - Multi Round
- You have a warehouse selling items to customers who submit bids. Each customer has an ID, a bid amount, and a desired item count. Highest bidders get served first; ties are broken by round-robin. Return the IDs of customers who received nothing.
- Design a shopping cart price calculator API: given a list of product IDs, return the total price. Plan for future discount logic and assume this runs at large scale.
- A rule is an ordered list of match keys like country, brand, and customer tier. Given a table of concrete values with a DEFAULT wildcard, and a query like (DE, acme, silver), return the matching result.
- How do you use AI tools in your day-to-day work, and what do you do to improve the quality of your prompts or queries?
- Given the root of a binary tree, return the values visible from the right side, ordered top to bottom.
- Given a stream of characters of arbitrary length, return the first character that appears exactly once across the entire stream.
- Tell me about a time you helped a colleague who was struggling.
“This was the online assessment coding problem.”