flipkart logo
Flipkart· SDE-2

Flipkart Machine coding round for SDE-2

Posted
22 Jun 2025
356 reads

Summary

I underwent a machine coding round for an SDE-2 position at Flipkart, where I implemented a simplified food order management system named FoodKart, emphasizing object-oriented design and extensibility.

How it went

Last month, I appeared for a machine coding round at Flipkart, where I had to implement a simplified food order management system, named FoodKart. It was a 120-minute round, with 30 minutes for problem briefing and 90 minutes for implementation.

The problem involved designing a system that simulates food ordering from restaurants with in-memory data structures. The challenge tested object-oriented design, modularity, clean coding, and extensibility. No UI or database, just plain backend logic.

Evaluation Round

After two days I got a call for evaluation round, where Interviwer asked me to run my code to make sure my code is passing for all test cases.

Questions asked (1)

  1. 01

    FoodKart: Food Order Management System

    System Design · Hard

    Problem Statement

    Last month, I appeared for a machine coding round at Flipkart, where I had to implement a simplified food order management system, named FoodKart. It was a 120-minute round, with 30 minutes for problem briefing and 90 minutes for implementation.

    The problem involved designing a system that simulates food ordering from restaurants with in-memory data structures. The challenge tested object-oriented design, modularity, clean coding, and extensibility. No UI or database, just plain backend logic.

    Key Features to Implement:

    1. Onboard new restaurants with menu and processing capacity.

    2. Update restaurant menu/prices dynamically.

    3. Place orders based on a restaurant selection strategy.

    4. Orders must only be accepted if all items are available and capacity allows.

    5. Dispatch orders, making room for new ones.

    6. Keep track of items served per restaurant.

    7. Process a set of commands sorted by timestamp (even if given in random order).

    8. [Bonus] Show all dispatched orders.

Know someone preparing? Send it to them:WhatsAppLinkedInX

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