Meesho Interview Prep (SDE-1 / SDE-2)

Meesho runs the machine coding round that this group is known for, and runs it well. Roughly 60 to 90 minutes against a written requirement, a console program with no UI and no database, and a code walkthrough afterwards where the interviewer adds requirements and looks for whether your classes absorb them. Reported prompts are a car pooling system, a parking lot, two features of a ride-sharing app, and an inventory system that holds a reservation for a few minutes and releases it if the order is not confirmed. Correct logic in badly organised code gets rejected at this stage.

The surprise for most candidates is the DSA bar. Nearly half the reported tagged problems are Hard, and the list is full of bit manipulation, counting, and tree-and-graph problems rather than the familiar interview canon. Underneath both rounds sits a specific commercial reality: Meesho serves price-sensitive customers at very thin margins, so cost per order is an engineering constraint. Design answers that spend freely on infrastructure land badly here in a way they would not at Flipkart or Amazon.


Interview Process

Stage Duration Focus
Online Assessment 90-165 min 2-3 problems, medium to hard
Technical Round 1 45-60 min DSA, live or occasionally on paper
Machine Coding 60-90 min Working console program, then a walkthrough
Technical Round 2 / LLD 60 min Class design, extensibility, fundamentals
System Design 60 min Commerce domain. SDE-2 and above
Hiring Manager 45 min Projects, trade-offs, cost awareness
HR 30 min Role, logistics, expectations

Machine coding is the decisive round. Reports consistently describe it as where the loop ends for most candidates, and the grading is split: does it run, and is it structured. Leave the last ten minutes for a demo you can drive from a main method with hardcoded inputs.

Assessment length varies widely between campus and experienced loops — reports range from a 45-minute progressive coding session to a 165-minute three-problem set. One reported round was conducted on pen and paper with a 30-minute explanation afterwards, so do not assume an IDE.


What Meesho Actually Tests

Derived from 40 reported Meesho-tagged problems. Difficulty mix:

Difficulty Count Share
Easy 1 3%
Medium 21 53%
Hard 18 45%

Over a quarter of the list is Hard, so treat Hard problems as the baseline rather than a stretch goal.

Where those problems fall by pattern:

Rank Pattern Problems Share of list
1 Dynamic Programming 11 28%
2 Graphs 6 15%
3 Math & Bit Manipulation 4 10%
4 Sliding Window & Two Pointers 4 10%
5 Design (Coding) 3 8%
6 Arrays & Hashing 3 8%
7 Binary Search 3 8%
8 Stack & Monotonic Stack 3 8%
9 Trees 1 3%
10 Heap / Priority Queue 1 3%

Meesho Signature Problems

These rank high on Meesho’s list but are reported by few other companies — the questions that are distinctively theirs rather than generic interview classics. The last column is how many of the 142 companies on this site report each one.

# Problem Pattern Difficulty Also asked at Link
1 Number of Unique XOR Triplets II Bit Manipulation Medium 3 of 142 LeetCode →
2 Number of Unique XOR Triplets I Bit Manipulation Medium 5 of 142 LeetCode →
3 Design Exam Scores Tracker Prefix Sum + Design Medium 2 of 142 LeetCode →
4 Number of Possible Sets of Closing Branches Shortest Path + Graph Hard 2 of 142 LeetCode →
5 Sum of Perfect Square Ancestors Number Theory + Tree Hard 3 of 142 LeetCode →
6 Reach a Number Binary Search Medium 7 of 142 LeetCode →
7 Count Subarrays With Fixed Bounds Monotonic Queue + Sliding Window Hard 10 of 142 Solve →
8 Minimum Time to Complete Trips Binary Search Medium 5 of 142 Solve →
9 Number of Ways to Form a Target String Given a Dictionary DP Hard 8 of 142 LeetCode →
10 Minimum Edge Reversals So Every Node Is Reachable Graph + BFS Hard 10 of 142 LeetCode →
11 Erect the Fence Convex Hull + Polygons Hard 3 of 142 LeetCode →
12 Painting the Walls DP Hard 5 of 142 LeetCode →
13 Split Array With Same Average Meet in the Middle + Bitmask Hard 6 of 142 LeetCode →
14 Robot Collisions Stack Hard 6 of 142 LeetCode →

If you are short on time, these carry more Meesho-specific signal per hour than the universal top-100 lists.


System Design (HLD) Problems Asked at Meesho

# Problem Difficulty Link
1 E-commerce Platform Advanced Read →
2 Cart System Intermediate Read →
3 Search Autocomplete (Catalogue Search) Intermediate Read →
4 Payment System (Checkout, COD, Refunds) Advanced Read →
5 Notification System (Order and Reseller Updates) Intermediate Read →
6 Distributed Job Scheduler (Catalogue and Pricing Jobs) Advanced Read →
7 Trending Topics (Trending Products) Intermediate Read →
8 Image Processing Pipeline (Catalogue Images) Intermediate Read →

LLD / Machine Coding Problems Asked at Meesho

These are the exact shapes Meesho’s machine coding round reaches for. Build each one until it compiles and runs, then set a timer for 90 minutes and do it again from scratch. The second attempt is where you learn what you can actually finish.

# Problem Difficulty Link
1 E-commerce Cart Intermediate Read →
2 Inventory Management (with Timed Reservations) Intermediate Read →
3 Order Management System Intermediate Read →
4 Ride Matching (Car Pooling) Intermediate Read →
5 Parking Lot Beginner Read →
6 Delivery Slot Booking Intermediate Read →

DSA Problems Asked at Meesho

37 problems across 8 pattern groups. Each group is allocated in proportion to its real share of Meesho’s tagged list, then filled with the highest-frequency problems in that group — so the weight here matches the distribution above rather than burying graph and tree work under the usual array classics.

Dynamic Programming

State definition is the whole battle. Say the recurrence out loud before you write the table. All 11 on the list.

# Problem Pattern Difficulty Link
1 Number of Strings Which Can Be Rearranged to Contain Substring Combinatorics + DP Medium LeetCode →
2 Number of Ways to Form a Target String Given a Dictionary DP Hard LeetCode →
3 Distinct Subsequences DP Hard Solve →
4 Maximum Profit in Job Scheduling Binary Search + DP Hard Solve →
5 Minimum Number of Taps to Open to Water a Garden Greedy + DP Hard Solve →
6 Best Time to Buy and Sell Stock II Greedy + DP Medium Solve →
7 Delete and Earn DP Medium Solve →
8 Jump Game Greedy + DP Medium Solve →
9 Maximum Subarray Divide and Conquer + DP Medium Solve →
10 Painting the Walls DP Hard LeetCode →
11 Split Array With Same Average Meet in the Middle + Bitmask Hard LeetCode →

Graphs

Traversal, connectivity, ordering, and shortest paths. The hardest bucket to fake — either you have drilled it or you have not. All 6 on the list.

# Problem Pattern Difficulty Link
12 Number of Possible Sets of Closing Branches Shortest Path + Graph Hard LeetCode →
13 Minimum Edge Reversals So Every Node Is Reachable Graph + BFS Hard LeetCode →
14 Possible Bipartition Graph Coloring + Bipartite Graph Medium Solve →
15 Collect Coins in a Tree Topological Sort + Graph Hard LeetCode →
16 Longest Consecutive Sequence Union-Find Medium Solve →
17 Number of Islands Union-Find + BFS Medium Solve →

Sliding Window & Two Pointers

Linear-time scans over arrays and strings. High volume, low variance — these should be automatic. All 4 on the list.

# Problem Pattern Difficulty Link
18 Count Complete Substrings Sliding Window Hard LeetCode →
19 Next Permutation Two Pointers Medium Solve →
20 3Sum Two Pointers Medium Solve →
21 Minimum Window Substring Sliding Window Hard Solve →

Math & Bit Manipulation

Number theory, geometry, and bit tricks. Short to write, easy to get subtly wrong on overflow and sign. All 4 on the list.

# Problem Pattern Difficulty Link
22 Number of Unique XOR Triplets II Bit Manipulation Medium LeetCode →
23 Number of Unique XOR Triplets I Bit Manipulation Medium LeetCode →
24 Erect the Fence Convex Hull + Polygons Hard LeetCode →
25 Max Points on a Line Euclidean Algorithm + GCD Hard Solve →

Design (Coding)

Build a data structure to a spec. Graded on API shape and the complexity of each operation, not just correctness. All 3 on the list.

# Problem Pattern Difficulty Link
26 Design Exam Scores Tracker Prefix Sum + Design Medium LeetCode →
27 Design Twitter Linked List + Design Medium LeetCode →
28 Find Median from Data Stream Data Stream + Design Hard Solve →

Half of these are binary search on the answer, not on an array. Learn to spot the monotonic predicate. All 3 on the list.

# Problem Pattern Difficulty Link
29 Reach a Number Binary Search Medium LeetCode →
30 Minimum Time to Complete Trips Binary Search Medium Solve →
31 Subarray Product Less Than K Sliding Window + Prefix Sum Medium Solve →

Stack & Monotonic Stack

Nearest-greater, parsing, and span problems. The monotonic variant is the one people miss. All 3 on the list.

# Problem Pattern Difficulty Link
32 Asteroid Collision Stack Medium Solve →
33 Number of Visible People in a Queue Monotonic Stack Hard Solve →
34 Robot Collisions Stack Hard LeetCode →

Arrays & Hashing

Prefix sums, counting, and grid walks. The warm-up round, and the one people get careless on. All 3 on the list.

# Problem Pattern Difficulty Link
35 Rising Temperature Database Easy Solve →
36 Consecutive Numbers Database Medium Solve →
37 Exchange Seats Database Medium LeetCode →

Meesho’s Favourite Patterns (Ranked)

Rank Pattern Frequency Problems on list Start with
1 Dynamic Programming Very High 11 (28%) Number of Strings Which Can Be Rearranged to Contain Substring, Number of Ways to Form a Target String Given a Dictionary, Distinct Subsequences
2 Graphs High 6 (15%) Number of Possible Sets of Closing Branches, Minimum Edge Reversals So Every Node Is Reachable, Possible Bipartition
3 Sliding Window & Two Pointers High 4 (10%) Count Complete Substrings, Next Permutation, 3Sum
4 Math & Bit Manipulation Medium-High 4 (10%) Number of Unique XOR Triplets II, Number of Unique XOR Triplets I, Erect the Fence
5 Design (Coding) Medium-High 3 (8%) Design Exam Scores Tracker, Design Twitter, Find Median from Data Stream
6 Binary Search Medium-High 3 (8%) Reach a Number, Minimum Time to Complete Trips, Subarray Product Less Than K
7 Stack & Monotonic Stack Medium 3 (8%) Asteroid Collision, Number of Visible People in a Queue, Robot Collisions
8 Arrays & Hashing Medium 3 (8%) Rising Temperature, Consecutive Numbers, Exchange Seats

How to read this: the top three rows are where your preparation hours should go. A candidate fluent in Dynamic Programming, Graphs, Sliding Window & Two Pointers covers the bulk of what Meesho actually asks. The rest is insurance for the one round that goes somewhere unexpected.


Reported Machine Coding Prompts

These are the prompts candidates report from Meesho machine coding rounds. The requirement document is usually split into must-have and bonus features, so read it fully before you start and build the must-haves first.

Prompt Core requirement The extension they add
Car pooling system Riders, drivers, trips, seat capacity, matching on route Fares, cancellations, a second matching strategy
Parking lot Multiple floors, vehicle types, allocation, ticketing Pricing tiers, electric charging bays, a different allocation policy
Ride-sharing app, two features Pick two of booking, matching, pricing, ratings Surge pricing, driver preferences
Inventory with timed reservations Reserve stock for a window, release it if unconfirmed Partial fulfillment, overselling protection, a second warehouse
Shopping cart and checkout Items, quantities, discounts, order placement Coupon stacking rules, out-of-stock handling mid-checkout

What the walkthrough actually scores:

  • It runs. A demo in a main method with hardcoded data, exercising the happy path and one failure.
  • Separation of concerns. The thing that models the domain, the thing that applies policy, and the thing that drives the demo are not in the same class.
  • One extension point. A strategy or policy interface for the rule most likely to change, usually pricing or allocation.
  • Validation and errors. Rejecting a bad request with a meaningful error, not an unchecked exception.
  • No persistence. In-memory collections are expected. Do not spend twenty minutes wiring a database.

Behavioural Round

# Question
1 Tell me about a time you reduced the cost of running something you built.
2 Walk me through a design where you deliberately chose the cheaper option.
3 Tell me about a feature you shipped for users with poor devices or poor connectivity.
4 Tell me about a time you had to simplify a system that had grown too complicated.
5 Tell me about a disagreement over code quality and how it resolved.
6 Tell me about something you shipped under a hard deadline. What did you cut?
7 Why Meesho, and what do you find interesting about the resale model?

Cost and constraint stories work unusually well here. An example where you cut infrastructure spend, reduced payload size for low-end devices, or removed a service rather than adding one maps directly onto how the company thinks about its own engineering.


13-Day Prep Plan

Built from the pattern ranking above, so the heaviest topics get the most time.

Day Focus Problems
1 Dynamic Programming (part 1) Number of Strings Which Can Be Rearranged to Contain Substring, Number of Ways to Form a Target String Given a Dictionary, Distinct Subsequences
2 Dynamic Programming (part 2) Maximum Profit in Job Scheduling, Minimum Number of Taps to Open to Water a Garden, Best Time to Buy and Sell Stock II
3 Graphs (part 1) Number of Possible Sets of Closing Branches, Minimum Edge Reversals So Every Node Is Reachable, Possible Bipartition
4 Graphs (part 2) Collect Coins in a Tree, Longest Consecutive Sequence, Number of Islands
5 Sliding Window & Two Pointers Count Complete Substrings, Next Permutation, 3Sum
6 Math & Bit Manipulation Number of Unique XOR Triplets II, Number of Unique XOR Triplets I, Erect the Fence
7 Design (Coding) Design Exam Scores Tracker, Design Twitter, Find Median from Data Stream
8 Binary Search Reach a Number, Minimum Time to Complete Trips, Subarray Product Less Than K
9 Stack & Monotonic Stack Asteroid Collision, Number of Visible People in a Queue, Robot Collisions
10 Arrays & Hashing Rising Temperature, Consecutive Numbers, Exchange Seats
11 Mock round Two problems in 45 minutes, timed, no hints. Simulate the real round.
12 Revision Redo the problems you failed or needed a hint on.
13 Light review + rest Re-read your pattern notes. Sleep early.

Tips for Meesho Interviews

  1. Rehearse the machine coding round against a clock. Pick three prompts from the table above and build each in 90 minutes, end to end, including a runnable demo. This is the round that decides the loop and it rewards practice more than any other.
  2. Structure before you type. Spend the first ten minutes naming your classes and the one interface you expect to swap. Interviewers add a requirement during the walkthrough specifically to see whether you planned for change.
  3. Expect Hard problems and odd topics. Bit manipulation, counting, and combinatorics are well represented on the reported list, which is unusual for a commerce company. Do not prepare only arrays and trees.
  4. Make cost per order part of your design answers. Say out loud which path is hot and expensive, what you would cache, what you would batch, and what you would compute asynchronously overnight instead of on request.
  5. Know the reservation problem. Holding inventory for a few minutes and releasing it reliably is a reported machine coding prompt and a genuine Meesho problem. Be able to do it with expiry plus a sweeper, and explain why a timer per order does not survive a restart.
  6. Be ready to code without an IDE. At least one reported round was pen and paper. Practice writing one complete class by hand so the loss of autocomplete does not cost you the round.

Other Company Prep