Flipkart - interview guide

Flipkart interview questions - a complete guide

Flipkart's machine coding round is well known - clean, working code in little time. Here is how to prepare for machine coding, DSA and the hiring manager round.

Language:EnglishHinglish

About Flipkart

Flipkart is one of India's biggest e-commerce companies (part of the Walmart group). Its engineering deals with large-scale sale events, the catalogue and the supply chain - and the machine coding round is its signature.

This guide covers 12 Flipkart interview questions with answers - what each question checks and how to answer it - plus the Flipkart interview process, round by round, a 7-day preparation plan for freshers, tips and the mistakes to avoid.

Flipkart hiring process

  1. Machine coding

    Building a working program from a problem statement - about 1.5 hours. Code quality, edge cases and being bug-free are what count.

  2. Problem solving (DSA)

    A DSA round of about an hour - arrays, graphs, trees, DP, heaps.

  3. Hiring manager round

    Projects, communication and culture fit - sometimes technical too.

Flipkart does not publish its interview process for India freshers in detail (as of our check). This information is based on candidate reports and varies by role, level and team.

Sources (checked 15 October 2026): Flipkart Careers. Hiring processes change - read the official notice before you apply.

Flipkart interview questions and answers

Machine coding

  1. 1.Build an expense-sharing app like Splitwise.

    What they're checking
    Working code, OOP design and extensibility.
    How to answer
    Classes: User, Expense, Split (equal/exact/percent). Balances in a map. Get the core flow working first, then extra features. Show it with tests or a demo main().
  2. 2.Design a shopping cart with discounts.

    What they're checking
    Clean code that is easy to change.
    How to answer
    Put each discount in its own strategy class (percent, flat, buy-one-get-one) so a new discount can be added without changing old code.

Problem solving (DSA)

  1. 3.Find the next greater element for every element.

    What they're checking
    The stack pattern.
    How to answer
    Go from right to left, keeping larger elements on a stack. O(n).
  2. 4.Sliding window maximum.

    What they're checking
    Using a deque.
    How to answer
    Keep indices in a deque, drop smaller elements from the back and out-of-window ones from the front. O(n).
  3. 5.Rotten oranges: in how many minutes will all of them rot?

    What they're checking
    Multi-source BFS.
    How to answer
    Start BFS from all rotten oranges at once; each level = one minute. If any fresh ones remain, -1.

Hiring manager

  1. 6.Give a deep dive into your best project.

    What they're checking
    Ownership and understanding.
    How to answer
    The problem, the design choices and their trade-offs, your part, and what you would do differently if you built it again.
  2. 7.Why Flipkart?

    What they're checking
    Motivation.
    How to answer
    Large-scale e-commerce problems - say what genuinely appeals to you.

More questions

  1. 8.Machine coding: build an elevator system.

    What they're checking
    Designing state and scheduling.
    How to answer
    Elevator (current floor, direction, requests) and a Controller that assigns requests. One elevator first, then several.
  2. 9.Minimum cost to connect ropes.

    What they're checking
    A greedy heap problem.
    How to answer
    Put all lengths in a min-heap; take the two smallest, join them, add the cost, put the result back.
  3. 10.Word search in a grid.

    What they're checking
    Backtracking.
    How to answer
    DFS from each cell, mark visited, and backtrack when the next letter doesn't match.
  4. 11.What do you do when the deadline and code quality conflict?

    What they're checking
    Hiring manager thinking.
    How to answer
    Prioritise what is essential, write down any shortcut you take, and plan to fix it later.

One more question

  1. 12.Traffic grows ten times during a sale like Big Billion Days - how do you prepare?

    What they're checking
    Thinking about scale.
    How to answer
    Load testing, caching, auto-scaling, queueing orders, and prioritising essential features - switching off the rest gracefully.

7-day preparation plan for the Flipkart interview

  1. Day 1: Machine coding - an expense-sharing app in 90 minutes.
  2. Day 2: Stacks and deques.
  3. Day 3: BFS and graphs.
  4. Day 4: Machine coding - a second problem (elevator/cart).
  5. Day 5: Heaps and backtracking.
  6. Day 6: Project deep dive and hiring manager questions.
  7. Day 7: A mock DSA round.

Preparation tips

  • Practise machine coding with a timer - working code in 90 minutes.
  • Keep code readable: good names, small functions and edge cases.
  • In DSA, focus on stack, deque, BFS and DP patterns.

Mistakes to avoid

  • Code that doesn't run in the machine coding round.
  • All the logic in one class.
  • Ignoring edge cases and invalid input.

Frequently asked questions

What is the Flipkart machine coding round?

Building a working program from a problem statement in about 1.5 hours - with the emphasis on code quality and edge cases.

How many rounds are there at Flipkart?

Commonly reported: machine coding, problem solving (DSA), design and hiring manager - it varies by level.

Which language can I use in Flipkart machine coding?

You can usually use the language of your choice.

Ready for your Flipkart interview?

Practise these questions with Cuelyte AI: add your resume, type a question and get a clear answer in your own words - in English, Hindi or Hinglish. Free to start.