Machine Coding Sheet
Amazon Machine Coding Interview
Top low-level design (LLD) and machine coding questions frequently asked in Amazon interviews. Master these to clear the LLD round.
Overall progress
0/104 solved
0%
Saved locally in this browser.
easy0/18
medium0/45
hard0/41
0/104
Solved
Utility
0/4 solved
| Status | Star | Problem | Difficulty | Key Focus | Notes |
|---|---|---|---|---|---|
Parking Lot Asked by:AmazonGoogleMicrosoft+2 more | Easy | Inheritance, Enums, Strategy Pattern | |||
Library Management System Asked by:AmazonMicrosoftGoogle | Easy | Search & Strategy Penalty Logic | |||
Vending Machine Asked by:GoogleAmazonMicrosoft | Medium | State Pattern (Idle/Dispense) | |||
Coffee Machine Asked by:GoogleAmazonMicrosoft | Medium | Decorator Pattern, State Pattern, Inventory Checks, Thread-Safe Brewing |
Games
0/3 solved
| Status | Star | Problem | Difficulty | Key Focus | Notes |
|---|---|---|---|---|---|
Snake & Ladder Asked by:AmazonFlipkartMicrosoft+1 more | Easy | Entity Modeling, Game Loop | |||
Tic-Tac-Toe Asked by:GoogleMicrosoftAmazon+1 more | Easy | Scalable N×N Board & Win Strategies | |||
Chess Game Asked by:AmazonMicrosoftRiot Games | Hard | Validator Strategy & Command Move Reversal |
Infrastructure
0/8 solved
| Status | Star | Problem | Difficulty | Key Focus | Notes |
|---|---|---|---|---|---|
Elevator System Asked by:GoogleAmazonMicrosoft+1 more | Medium | State, Strategy (Dispatching) | |||
API Rate Limiter Asked by:StripeGoogleAmazon+2 more | Medium | Token Bucket, Sliding Window | |||
Logger Library Asked by:GoogleAmazonSplunk+1 more | Medium | Strategy Formatter & Asynchronous Composite Sinks | |||
Notification Service Asked by:MetaAmazonApple+1 more | Medium | Factory Method, Strategy Pattern, Decorator Pattern, Rate Limiting | |||
Distributed ID Generator Asked by:TwitterMetaMicrosoft+1 more | Medium | Snowflake Strategy, Clock Providers, Resilient Clock-Skew Backoffs, Thread-Safe Bitwise Math | |||
In-Memory Cache (LRU/LFU) Asked by:RedisLabsAmazonTwitter+1 more | Medium | Strategy Pattern, Generics, Concurrent Read-Write Locks, Eviction Mechanics | |||
In-Memory Key-Value Store Asked by:RedisLabsGoogleAmazon+1 more | Hard | Nested Transactions & Command Logs | |||
Distributed Lock Manager Asked by:UberGoogleAmazon+1 more | Hard | Lease Management, Fencing |
Commerce
0/10 solved
| Status | Star | Problem | Difficulty | Key Focus | Notes |
|---|---|---|---|---|---|
Shopping Cart (Guest Merge) Asked by:AmazonWalmartShopify | Easy | Guest vs Logged-in Merge | |||
Order Manager Asked by:AmazonWalmartShopify+1 more | Easy | State Machine, Event-driven | |||
Review & Rating System Asked by:YelpAmazonGoogle+1 more | Easy | Weighted Average, Spam Filter | |||
Price Comparison Engine Asked by:GoogleAmazonPayPal | Easy | Normalization, Entity Matching | |||
Coupon Management System Asked by:AmazonWalmartShopify | Medium | Rule Engine, Stacking Logic | |||
E-commerce Cart & Checkout Asked by:AmazonWalmartShopify+1 more | Medium | Promotion Engine, Tax Logic | |||
Discount Engine Asked by:AmazonWalmartPayPal | Medium | Stacking Policy, Atomic Usage | |||
Movie Booking (BookMyShow) Asked by:AmazonFlipkartTicketmaster+1 more | Hard | Concurrency, Transactional Locks | |||
Inventory Management Asked by:AmazonWalmartShopify | Hard | Two-Phase Reservation, TTL Cleanup, Observer Pattern, Thread-Safe Inventory Decrements | |||
Inventory Management (Advanced) Asked by:AmazonWalmartShopify+1 more | Hard | Overbooking, Global State |
Search
0/1 solved
| Status | Star | Problem | Difficulty | Key Focus | Notes |
|---|---|---|---|---|---|
Search Ranking (Learning to Rank) Asked by:GoogleMicrosoftAmazon+1 more | Hard | NDCG, Feature Engineering |
IoT
0/1 solved
| Status | Star | Problem | Difficulty | Key Focus | Notes |
|---|---|---|---|---|---|
Smart Home System Asked by:AppleGoogleAmazon | Medium | Command & Composite Patterns, State Synchronization, Observer Registry, Bounded History Logs |
Media
0/1 solved
| Status | Star | Problem | Difficulty | Key Focus | Notes |
|---|---|---|---|---|---|
Music Playlist Manager Asked by:SpotifyAppleAmazon | Easy | Doubly Linked List Logic |
Web Services
0/1 solved
| Status | Star | Problem | Difficulty | Key Focus | Notes |
|---|---|---|---|---|---|
Pastebin (LLD) Asked by:GoogleDropboxAmazon | Easy | TTL, Base62 Encoding |