Amazon Interview Questions
The questions to prepare for Amazon interviews, across all roles. Questions from real interview reports rank first. Updated daily.
Use multi-source BFS to find the minimum time for all reachable fresh oranges to rot.
AmazonRearrange an array in place to produce its next lexicographically greater permutation.
AmazonCompute water trapped between elevation bars using an O(n) two-pointer scan with constant extra space.
AmazonFind the kth largest value in an unsorted array using a selection algorithm or heap.
AmazonCalculate each sale's z score against the non-null sales distribution using PostgreSQL.
AmazonCompare daily units sold for Product1 and Product2 during their first 100 days after launch.
AmazonCalculate month-over-month sales growth for each product category using JOINs and window functions.
AmazonFind the top 10 products by total sales revenue using joins, aggregation, and a CTE.
AmazonKeep going with a free account
Sign up to see one more question, run code and track your progress.