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.
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
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.
Problem solving (DSA)
A DSA round of about an hour - arrays, graphs, trees, DP, heaps.
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.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.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)
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).
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).
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
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.
7.Why Flipkart?
- What they're checking
- Motivation.
- How to answer
- Large-scale e-commerce problems - say what genuinely appeals to you.
More questions
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.
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.
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.
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
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
- Day 1: Machine coding - an expense-sharing app in 90 minutes.
- Day 2: Stacks and deques.
- Day 3: BFS and graphs.
- Day 4: Machine coding - a second problem (elevator/cart).
- Day 5: Heaps and backtracking.
- Day 6: Project deep dive and hiring manager questions.
- 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.
Similar companies - Product and internet companies
- Amazon interview questions
- Google interview questions
- Microsoft interview questions
- Adobe interview questions
- Salesforce interview questions
- Zoho interview questions
- Walmart Global Tech interview questions
- Oracle interview questions
- Cisco interview questions
- Swiggy interview questions
- PayPal interview questions
- PhonePe interview questions
More company guides
- TCS interview questions
- Infosys interview questions
- Wipro interview questions
- Accenture interview questions
- All companies →
Read next
- How to Answer "Tell Me About Yourself" (for Freshers and Experienced)
- Campus Placement Interview Preparation: A Round-by-Round Guide
On a live call, Cuelyte AI hears questions like these and has an answer ready in about a second, built from your resume and notes. Coding interviews: how Cuelyte AI helps
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.