meesho logo
Meesho· SDE-1

Machine Coding Round at Meesho – My Experience!

Experience
1.2 years
Posted
17 Nov 2025
576 reads

Summary

I recently interviewed at Meesho for an SDE-1 role, where I faced a challenging machine coding round focused on building an in-memory inventory management system with specific features, including time-based inventory restoration.

How it went

I recently had an interview at Meesho for an SDE-1 position, which featured a particularly interesting machine coding round. My task was to design and implement a small but realistic in-memory inventory management system for an e-commerce platform within a 60-minute timeframe. This experience was a great test of my ability to integrate system design principles with clean coding and practical problem-solving under pressure. I found it to be a very engaging and insightful part of the interview process.

Questions asked (1)

  1. 01

    In-memory E-commerce Inventory Management System

    System Design · Hard

    The core challenge was to construct a compact yet realistic inventory management system for an e-commerce platform, to be completed within 60 minutes. The system needed to adhere to several key requirements:

    • Implement functionality for creating new products and assigning an initial inventory.
    • Enable fetching the current available inventory for any product.
    • Manage inventory blocking when a user initiates a payment transaction.
    • Ensure permanent reduction of inventory upon successful payment confirmation.
    All underlying data structures were restricted to in-memory types such as Maps or Lists. A driver class was also required to showcase all implemented functionalities.

    A crucial bonus requirement involved implementing a timeout mechanism: if an order remained unconfirmed for five minutes, the previously blocked inventory for that order had to be automatically restored. This particular aspect added a significant layer of complexity, demanding careful thought around state management and time-driven rollbacks.

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Meesho 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!