Machine Coding · 2 levels · 14 questions

Machine coding Tutorial

Practical guide to acing Machine Coding interviews — design, clean code, and extensibility.

Start with What's Machine Coding? →
Level

Introduction5 questions

Level

Machine Coding Questions9 questions

In-Memory SQL Database — Machine Coding Round — Machine coding Tutorial

In-Memory SQL Database — Machine Coding Round

Design an in-memory SQL-like database — Razorpay’s classic Machine Coding question: tables, schema, CRUD, validation, indexing and locking with example usage.

5 minRazorpay
View →
Design Tic Tac Toe — Machine Coding Round — Machine coding Tutorial

Design Tic Tac Toe — Machine Coding Round

Design and implement an NxN Tic Tac Toe game — turn-based play, move validation, win/draw detection, AI mode, and multi-session bonus features.

5 minMeesho
View →
Design Snake & Ladder — Machine Coding Round — Machine coding Tutorial

Design Snake & Ladder — Machine Coding Round

Design and implement a multiplayer Snake & Ladder game — authentication, board setup, dice-based turns, win detection, and multi-board bonus features.

5 minSwiggy
View →
S3 Object Storage — Machine Coding Round — Machine coding Tutorial

S3 Object Storage — Machine Coding Round

Build a simplified, in-memory version of Amazon S3 — buckets, objects, authentication, access control, and versioning, inspired by S3's flat key-value design.

5 minAmazon
View →
Splitwise (Expense Sharing) — Machine Coding Round — Machine coding Tutorial

Splitwise (Expense Sharing) — Machine Coding Round

Splitwise machine coding round — build an in-memory expense sharing application with equal, exact, and percentage-based splits.

5 minSwiggy
View →
Parking Lot System — Machine Coding Round — Machine coding Tutorial

Parking Lot System — Machine Coding Round

Parking Lot machine coding round — build an in-memory parking lot that assigns vehicles to appropriate slots, generates tickets, and tracks availability.

5 minSwiggy
View →
Message Queue — Machine Coding Round — Machine coding Tutorial

Message Queue — Machine Coding Round

Machine coding round — build a thread-safe, in-memory message queue with multiple topics, publishers, and concurrent delivery.

5 minDream11
View →
Key-Value Store — Machine Coding Round — Machine coding Tutorial

Key-Value Store — Machine Coding Round

Machine coding round — build a thread-safe, in-memory key-value store with structured values and attribute-based search.

5 minCRED
View →
Movie Ticket Booking (BookMyShow) — Machine Coding Round — Machine coding Tutorial

Movie Ticket Booking (BookMyShow) — Machine Coding Round

Machine coding round — design a BookMyShow-style movie ticket system: city-to-show browsing, timed seat holds, UPI/card/wallet payments and notifications.

5 minBookMyShow
View →