amazon logo
Amazon· SDE 2

Amazon HLD LLD DSA Questions

Posted
1 Jul 2025
687 reads

Summary

The author, while preparing for an Amazon SDE 2 role, compiled a detailed list of frequently asked HLD, LLD, and DSA questions based on LeetCode discussions and personal interview encounters to give back to the community.

How it went

Hello, Just giving things back to the community. I was preparing for Amazon SDE 2 interview from past 4 months. Although things didn't go in my way, 2-3 months ago during my preparation I listed (took from leetcode discuss) what kind of questions they were asking. You can go through the questions below, it will give you a rough idea. Don't get worried about HLD and LLD questions you see here. First be prepared with standard questions what most top tech companies ask.


HLD

  1. Design a chat system (3 times)
  2. Design a collaborative code editor like Google Docs
  3. Design a ride-sharing app like Uber (2 times)
  4. Question related to metrics and distributed tracing (vague)
  5. High-Level Design of BookMyShow (focus on booking, high traffic handling)
  6. Design Google Docs with scalable link sharing (hot hits handling)
  7. Design a URL shortener
  8. Design Google Drive
  9. Design Twitter with some custom requirements
  10. High-Level Design of a Payment Service (focus on scalability, fault tolerance, trade-offs)
  11. Design a chat app with video messaging and video replies
  12. Design TikTok
  13. Design autocomplete / search recommendations in Amazon Search (given a ranking algorithm)
  14. Design a vehicle service center management system
  15. Design a news feed like Reddit (with age restriction capability)
  16. Design an upload service like Google Drive (files + photos)
  17. Design a system to extract images from video frames and show purchase links for products on Amazon Prime
  18. Design a system to track and reward Twitch viewers by watch time (top 10 viewers in the past week)
  19. Design a delivery workflow system where the delivery person scans products, updates states, triggers emails, and uses OTP/pictures for delivery confirmation
  20. Design a vehicle tracking system for multiple client use cases (cab booking, food delivery)
  21. Design a metrics monitoring and alerting system
  22. Update Mars Rover [https://leetcode.com/discuss/post/5804312/amazon-hld-update-mars-rover-by-nsd14022-svdz/]
  23. Design a tag management system
  24. Desing URL shorterner (This was asked to me)

LLD

  1. Design the LLD of a Vending Machine
  2. LLD – Design a Quick Commerce System
  3. Design a Parking Lot
  4. Design Amazon Locker
  5. LLD of Splitwise
  6. Design a Hotel Reservation System
  7. Design Customer Reviews for products in Amazon
  8. Rate Limiter LLD
  9. Design a Movie Booking System
  10. Design an IRCTC Booking System (Railway Reservation) – focus on booking module and conditions
  11. Design a Rate Limiter (2 times) – explained Token Bucket Algorithm, follow-up: 10 threads & 1000 API calls
  12. LLD for a Seller Experience Application
  13. Design a File Storing System somewhat similar to https://leetcode.com/discuss/post/1071562/design-a-file-download-application-syste-7kg2/
  14. Design a Chat Messenger like WhatsApp or Facebook Messenger
  15. Design a Delivery Partner Assignment System
  16. Design a Chess Game
  17. Design a File Download System
  18. Design an LRU Cache
  19. Design an Elevator (This was asked to my fellow candidate in F2F interview)

DSA

So few interview experiences provide direct leetcode problems link. This is my list which has 27 problems https://leetcode.com/problem-list/23kp61xm/ and below are open questions which I found

  1. Koko Eating Bananas

  2. Monotonic Stack problems

  3. Word Break (asked twice)

  4. Amount of Time for Binary Tree to be Infected – N-ary Tree variation

  5. Longest Common Subsequence

  6. Longest Palindromic Substring

  7. Zigzag Level Order Traversal of Binary Tree

  8. Max Path Sum in Binary Tree (with negative values)

    • Follow-up: Print the path as well
  9. Kth Smallest Element in BST

  10. Missing Ranges (Leetcode)

  11. Matrix Clockwise Rotation – Bar Raiser style

  12. Path Sum I: Given a binary tree and target value, check if there's a path from root to leaf whose node sum equals target

  13. Path Sum III variation: From any node to leaf, path only moves up (doesn't cross root) – tricky constraint

  14. Shortest Path in Grid (4 directions only, no diagonals) – variation of “Shortest Path to Find Food”

  15. Amazon Locker Problem:

    • Function to return locker to open when package is received
    • Function to retrieve package for a customer
  16. Maximum Subset Sum in Binary Tree such that no two nodes are adjacent

    • Follow-up: Print the subset
  17. Minimum Number of Platforms – classic interval scheduling logic

  18. Top View of Binary Tree

  19. Dynamic Number of Islands – with each query (DSU/DFS)

  20. Next Permutation

  21. Decode Encoded String – e.g. a3[b2[c]] → abccbccbcc

  22. Longest Valid Parentheses

  23. Dungeon Game type problem

  24. Lottery System – Closest match: Random Pick With Weight on LeetCode

Questions asked (64)

  1. 01

    Design a Chat System

    System Design

    Design a chat system

  2. 02

    Design a Collaborative Code Editor

    System Design

    Design a collaborative code editor like Google Docs

  3. 03

    Design a Ride-Sharing App

    System Design

    Design a ride-sharing app like Uber

  4. 04

    High-Level Design of BookMyShow

    System Design

    High-Level Design of BookMyShow (focus on booking, high traffic handling)

  5. 05

    Design Google Docs with Scalable Link Sharing

    System Design

    Design Google Docs with scalable link sharing (hot hits handling)

  6. 06

    Design a URL Shortener

    System Design

    Design a URL shortener

  7. 07

    Design Google Drive

    System Design

    Design Google Drive

  8. 08

    Design Twitter with Custom Requirements

    System Design

    Design Twitter with some custom requirements

  9. 09

    High-Level Design of a Payment Service

    System Design

    High-Level Design of a Payment Service (focus on scalability, fault tolerance, trade-offs)

  10. 10

    Design a Chat App with Video Messaging

    System Design

    Design a chat app with video messaging and video replies

  11. 11

    Design TikTok

    System Design

    Design TikTok

  12. 12

    Design Autocomplete / Search Recommendations in Amazon Search

    System Design

    Design autocomplete / search recommendations in Amazon Search (given a ranking algorithm)

  13. 13

    Design a Vehicle Service Center Management System

    System Design

    Design a vehicle service center management system

  14. 14

    Design a News Feed like Reddit with Age Restriction

    System Design

    Design a news feed like Reddit (with age restriction capability)

  15. 15

    Design an Upload Service like Google Drive

    System Design

    Design an upload service like Google Drive (files + photos)

  16. 16

    Design a System to Extract Images from Video Frames

    System Design

    Design a system to extract images from video frames and show purchase links for products on Amazon Prime

  17. 17

    Design a System to Track and Reward Twitch Viewers

    System Design

    Design a system to track and reward Twitch viewers by watch time (top 10 viewers in the past week)

  18. 18

    Design a Delivery Workflow System

    System Design

    Design a delivery workflow system where the delivery person scans products, updates states, triggers emails, and uses OTP/pictures for delivery confirmation

  19. 19

    Design a Vehicle Tracking System

    System Design

    Design a vehicle tracking system for multiple client use cases (cab booking, food delivery)

  20. 20

    Design a Metrics Monitoring and Alerting System

    System Design

    Design a metrics monitoring and alerting system

  21. 21

    Update Mars Rover

    System Design

    Update Mars Rover

    Open the problem
  22. 22

    Design a Tag Management System

    System Design

    Design a tag management system

  23. 23

    Design a URL Shortener (Personal Experience)

    System Design

    Desing URL shorterner (This was asked to me)

  24. 24

    Design the LLD of a Vending Machine

    System Design

    Design the LLD of a Vending Machine

  25. 25

    LLD – Design a Quick Commerce System

    System Design

    LLD – Design a Quick Commerce System

  26. 26

    Design a Parking Lot

    System Design

    Design a Parking Lot

  27. 27

    Design Amazon Locker

    System Design

    Design Amazon Locker

  28. 28

    LLD of Splitwise

    System Design

    LLD of Splitwise

  29. 29

    Design a Hotel Reservation System

    System Design

    Design a Hotel Reservation System

  30. 30

    Design Customer Reviews for Products

    System Design

    Design Customer Reviews for products in Amazon

  31. 31

    Rate Limiter LLD

    System Design

    Rate Limiter LLD

  32. 32

    Design a Movie Booking System

    System Design

    Design a Movie Booking System

  33. 33

    Design an IRCTC Booking System (Railway Reservation)

    System Design

    Design an IRCTC Booking System (Railway Reservation) – focus on booking module and conditions

  34. 34

    Design a Rate Limiter with Token Bucket Algorithm

    System Design

    Design a Rate Limiter (2 times) – explained Token Bucket Algorithm, follow-up: 10 threads & 1000 API calls

  35. 35

    LLD for a Seller Experience Application

    System Design

    LLD for a Seller Experience Application

  36. 36

    Design a File Storing System

    System Design

    Open the problem
  37. 37

    Design a Chat Messenger

    System Design

    Design a Chat Messenger like WhatsApp or Facebook Messenger

  38. 38

    Design a Delivery Partner Assignment System

    System Design

    Design a Delivery Partner Assignment System

  39. 39

    Design a Chess Game

    System Design

    Design a Chess Game

  40. 40

    Design a File Download System

    System Design

    Design a File Download System

  41. 41

    Design an LRU Cache

    Data Structures & Algorithms

    Design an LRU Cache

  42. 42

    Design an Elevator (Fellow Candidate's Experience)

    System Design

    Design an Elevator (This was asked to my fellow candidate in F2F interview)

  43. 43

    Koko Eating Bananas

    Data Structures & Algorithms · Medium

    Koko Eating Bananas

  44. 44

    Word Break

    Data Structures & Algorithms · Medium

    Word Break (asked twice)

  45. 45

    Amount of Time for Binary Tree to be Infected (N-ary Tree variation)

    Data Structures & Algorithms · Medium

    Amount of Time for Binary Tree to be Infected – N-ary Tree variation

    Open the problem
  46. 46

    Longest Common Subsequence

    Data Structures & Algorithms · Medium

    Longest Common Subsequence

  47. 47

    Longest Palindromic Substring

    Data Structures & Algorithms · Medium

    Longest Palindromic Substring

  48. 48

    Zigzag Level Order Traversal of Binary Tree

    Data Structures & Algorithms · Medium

    Zigzag Level Order Traversal of Binary Tree

  49. 49

    Max Path Sum in Binary Tree with Negative Values

    Data Structures & Algorithms · Hard

    Max Path Sum in Binary Tree (with negative values)

    • Follow-up: Print the path as well
  50. 50

    Kth Smallest Element in BST

    Data Structures & Algorithms · Medium

    Kth Smallest Element in BST

  51. 51

    Missing Ranges

    Data Structures & Algorithms · Easy

    Missing Ranges (Leetcode)

  52. 52

    Matrix Clockwise Rotation (Bar Raiser Style)

    Data Structures & Algorithms · Medium

    Matrix Clockwise Rotation – Bar Raiser style

  53. 53

    Path Sum I (Root to Leaf)

    Data Structures & Algorithms · Easy

    Path Sum I: Given a binary tree and target value, check if there's a path from root to leaf whose node sum equals target

  54. 54

    Path Sum III Variation (Any Node to Leaf, Path Moves Up)

    Data Structures & Algorithms · Medium

    Path Sum III variation: From any node to leaf, path only moves up (doesn't cross root) – tricky constraint

  55. 55

    Shortest Path in Grid (4 Directions)

    Data Structures & Algorithms · Medium

    Shortest Path in Grid (4 directions only, no diagonals) – variation of “Shortest Path to Find Food”

  56. 56

    Amazon Locker Problem (DSA focus)

    Data Structures & Algorithms

    Amazon Locker Problem:

    * Function to return locker to open when package is received
    * Function to retrieve package for a customer
    
  57. 57

    Maximum Subset Sum in Binary Tree (No Adjacent Nodes)

    Data Structures & Algorithms · Medium

    Maximum Subset Sum in Binary Tree such that no two nodes are adjacent

    * Follow-up: *Print the subset*
    
  58. 58

    Minimum Number of Platforms

    Data Structures & Algorithms · Medium

    Minimum Number of Platforms – classic interval scheduling logic

  59. 59

    Top View of Binary Tree

    Data Structures & Algorithms · Medium

    Top View of Binary Tree

  60. 60

    Dynamic Number of Islands with Queries

    Data Structures & Algorithms · Hard

    Dynamic Number of Islands – with each query (DSU/DFS)

  61. 61

    Next Permutation

    Data Structures & Algorithms · Medium

    Next Permutation

  62. 62

    Decode Encoded String

    Data Structures & Algorithms · Medium

    Decode Encoded String – e.g. a3[b2[c]] → abccbccbcc

  63. 63

    Longest Valid Parentheses

    Data Structures & Algorithms · Hard

    Longest Valid Parentheses

  64. 64

    Lottery System (Random Pick With Weight)

    Data Structures & Algorithms · Medium

    Lottery System – Closest match: Random Pick With Weight on LeetCode

How they prepared

What I will suggest you is to maintain your own tracker and list recently asked questions at the time of your prepartion. First be prepared with standard questions what most top tech companies ask. I created a list in leetcode and added them to it, which will be very easy for us to practice: https://leetcode.com/problem-list/23kp61xm/. I suggest you to do the same thing. If it is not a leetcode problem or a open question statement track it somewhere, I do it in google docs.

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Amazon recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!