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%


easy0/18

medium0/45

hard0/41

Utility

0/4 solved

StatusStarProblemDifficultyKey FocusNotes
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

StatusStarProblemDifficultyKey FocusNotes
Snake & Ladder
Asked by:AmazonFlipkartMicrosoft+1 more
Easy

Entity Modeling, Game Loop

Tic-Tac-Toe
Asked by:GoogleMicrosoftAmazon+1 more
Easy

Scalable NxN Board & Win Strategies

Chess Game
Asked by:AmazonMicrosoftRiot Games
Hard

Validator Strategy & Command Move Reversal

Infrastructure

0/8 solved

StatusStarProblemDifficultyKey FocusNotes
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

StatusStarProblemDifficultyKey FocusNotes
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

IoT

0/1 solved

StatusStarProblemDifficultyKey FocusNotes
Smart Home System
Asked by:AppleGoogleAmazon
Medium

Command & Composite Patterns, State Synchronization, Observer Registry, Bounded History Logs

Media

0/1 solved

StatusStarProblemDifficultyKey FocusNotes
Music Playlist Manager
Asked by:SpotifyAppleAmazon
Easy

Doubly Linked List Logic

Web Services

0/1 solved

StatusStarProblemDifficultyKey FocusNotes
Pastebin (LLD)
Asked by:GoogleDropboxAmazon
Easy

TTL, Base62 Encoding