Flipkart software engineer interview questions and process

Flipkart software engineer interviews usually combine data structures and algorithms problems, a machine coding round where you build a small working program with clean object-oriented design in limited time, and design discussions about e-commerce systems such as carts, inventory and flash sales. A hiring manager round on ownership and past projects typically closes the loop, and senior candidates get more design.

By Published 7 min read

How the Flipkart engineering interview usually runs

Flipkart is one of India's largest e-commerce companies, and Walmart has held a majority stake since 2018. It hires engineers from campuses, through student programs, and laterally for experienced roles. There is no published script, so the sequence below is what candidates describe most often. The order changes, rounds can merge and the bar shifts with the level you apply for.

  1. Online coding test or screening round. Timed algorithm problems on an online judge, common for campus and early-career hiring.
  2. Machine coding round. Build a small application from a written problem statement in a fixed time window, then walk an engineer through it. Many candidates report this as the deciding round.
  3. Problem-solving and data structures rounds. One or two live rounds with algorithm problems and follow-ups.
  4. Design round. Low-level design for earlier career levels, high-level system design for senior engineers. Some loops have both.
  5. Hiring manager round. Past projects, ownership, conflict and why Flipkart.

Ask your recruiter which rounds you will get and whether the machine coding round allows your own IDE and internet access for documentation. Candidates report different setups across teams and years.

What Flipkart hires engineers for

An e-commerce platform at Indian scale has hard, very concrete problems: a catalog with a huge number of listings from many sellers, search in several languages, inventory that must not oversell, payment methods ranging from UPI to cash on delivery, and delivery promises across cities and small towns. Big sale events such as The Big Billion Days push traffic far above a normal day. Interviewers look for engineers who write code other people can extend, reason about correctness under concurrency and think about what happens on the worst day, not the average one.

Machine coding round

You get a problem statement, build a working, runnable solution in your language of choice, and then demo it. A database is usually not required; in-memory storage is fine unless told otherwise. Evaluation tends to focus on whether it runs, how cleanly responsibilities are split into classes, how easy it is to add a new requirement, and whether edge cases are handled. A half-finished elegant design usually scores worse than a complete, tidy one.

Machine coding prompts to practice
PromptWhat it testsWhat a strong solution shows
Build a shopping cart that applies the best of several offers.Strategy pattern and money handling.Offers as pluggable classes, integer money, and a clear rule for stacking or not stacking offers.
Build an inventory service that reserves stock at checkout and releases it on timeout.State and concurrency.Reserve, confirm and release states, expiry handling and no overselling when two buyers race.
Build an expense-sharing app for groups.Modeling and balance simplification.Users, groups, equal and exact splits, and a readable balances view.
Build a parking lot or a delivery slot booking system.Allocation and extensibility.Slot types, a booking flow, cancellation, and room for a new vehicle or slot type.
Build an in-memory key-value store with expiry.Data structures in practice.Get, set, delete and TTL with lazy or periodic cleanup.
Build a rate limiter for an API.Algorithms as components.Token bucket or sliding window behind one interface so either can be swapped.
Build a simple snake and ladder or tic-tac-toe game.Clean game loops.Board, players and rules separated, with input validation.
Build a seller rating and review system.Aggregation and filtering.Running averages, filters by rating and a guard against duplicate reviews.
Machine coding prompts to practice. Scroll sideways on a small screen.
from dataclasses import dataclass

@dataclass
class Item:
    sku: str
    price: int  # in paise, to avoid float rounding
    qty: int

class PercentOff:
    def __init__(self, pct, min_total=0):
        self.pct, self.min_total = pct, min_total
    def discount(self, items):
        total = sum(i.price * i.qty for i in items)
        return total * self.pct // 100 if total >= self.min_total else 0

class BuyXGetY:
    def __init__(self, sku, x, y):
        self.sku, self.x, self.y = sku, x, y
    def discount(self, items):
        for i in items:
            if i.sku == self.sku:
                return (i.qty // (self.x + self.y)) * self.y * i.price
        return 0

def best_price(items, offers):
    total = sum(i.price * i.qty for i in items)
    return total - max((o.discount(items) for o in offers), default=0)

cart = [Item("pen", 1000, 3), Item("book", 25000, 1)]
print(best_price(cart, [PercentOff(10, 20000), BuyXGetY("pen", 2, 1)]))  # 25200
A minimal offer engine: each offer is its own class behind one method

In the demo, expect the follow-up "now allow two offers to stack" or "add a category-level offer". If the new rule is one new class and one changed line in best_price, your design did its job.

Data structures and algorithms questions

Problem-solving questions with an e-commerce flavor
QuestionWhat it testsWhat a strong answer shows
Return the top k best-selling products from a stream of orders.Heaps and hash maps.A count map plus a size-k min-heap, and what changes if the stream never ends.
Merge sorted price lists from several sellers into one sorted list.K-way merge.A heap of list heads, n log k time, and handling duplicates by seller.
Find the minimum number of delivery vans needed given time windows.Intervals.Sort starts and ends, sweep and track the peak overlap.
Given a warehouse grid with blocked cells, find the shortest path to a shelf.BFS on a grid.Visited tracking, bounds checks and returning -1 when unreachable.
Group search queries that are anagrams of each other.Hashing with a canonical key.Sorted string or character counts as the key.
Find the longest substring without repeating characters.Sliding window.Two pointers with a last-seen map, linear time.
Given product dependencies for a bundle, find a valid build order.Topological sort.Kahn's algorithm and cycle detection.
Maximum value of items that fit a weight limit.Dynamic programming.0/1 knapsack table, then the one-dimensional space optimization.
Find the median price as new prices stream in.Two heaps.A max-heap and a min-heap kept balanced.
Design an LRU cache for product pages.Linked list and map together.Constant-time get and put with correct eviction.
Problem-solving questions with an e-commerce flavor. Scroll sideways on a small screen.

Design questions

Low-level design checks class structure and interfaces; high-level design checks services, data stores and failure handling. Both are anchored in commerce. Our system design hub has full walk-throughs, and the payment system design is worth reading before any checkout question.

  • Design a flash sale where a limited stock of a phone goes live at noon. Pre-warmed caches, a queue or token gate in front of checkout, atomic stock decrement and a fair message when stock runs out.
  • Design the inventory system across many warehouses. Stock per warehouse, reservations with expiry, and reconciliation when the physical count disagrees.
  • Design product search with typo tolerance and filters. An inverted index, analyzers for Indian languages and transliteration, facets and ranking signals. See search autocomplete.
  • Design the order pipeline from checkout to delivery. Order states, events between services, idempotent consumers and what customer support sees.
  • Design the delivery date promise shown on a product page. Seller location, warehouse stock, courier capacity and a cached estimate that is honest under load.
  • Design a price alert and notification service. Subscriptions, change detection, batching and channel preferences. Compare with notification system design.
  • Design class structure for a returns and refunds flow. States, eligibility rules as separate policies and refunds to the original payment method.

Hiring manager and behavioral questions

  • Tell me about the most complex system you worked on. Your part, the trade-offs and one thing you would do differently.
  • Describe a production issue you handled. Detection, mitigation, root cause and the change that stopped it recurring.
  • Tell me about a time you disagreed with a senior engineer. The data you brought and how it ended.
  • How do you decide when code is good enough to ship? Tests, review, rollback plan and the cost of waiting.
  • Why Flipkart, and why this team? Something specific about Indian e-commerce scale or the team's area.
  • Tell me about something you learned outside your job description. Initiative with a concrete outcome.

Fictional example

Handling a follow-up in the machine coding demo
Interviewer
Your cart works. Now the business wants offers that apply only to one category, such as electronics.
Candidate
Each offer already implements one discount method that takes the items. I will add a CategoryPercentOff class that filters items by category before computing. The Item class needs a category field, which is a one-line change.
Interviewer
What if two offers can apply together?
Candidate
Right now best_price picks the single largest discount. I would add a stacking policy object so the rule lives in one place: either best single offer or a list of stackable ones applied in order, with a cap so the price never goes below zero.

Four-week preparation plan

  1. Week 1: core patternsHeaps, intervals, graphs, sliding window and DP. Two timed problems daily, explaining complexity aloud.
  2. Week 2: machine codingBuild three of the prompts above end to end against a timer, in your interview language, with a small demo script.
  3. Week 3: designPractice the flash sale, inventory and order pipeline designs. Draw class diagrams for two low-level problems.
  4. Week 4: stories and mocksPrepare five project and incident stories, then run two full mock loops and review where time went.

Payments-heavy teams overlap with fintech loops, so the PhonePe software engineer guide is useful next. For another consumer marketplace, read the Swiggy software engineer guide.

For machine coding practice, Natively works as a second pair of eyes. Take a screenshot of a problem statement and it reads it and can outline classes and an approach you can compare with your own design. During a mock problem-solving round it transcribes what you say, so you can see whether you explained the complexity before coding. With your résumé and the Flipkart job description loaded (Pro or the free trial), its suggestions for the hiring manager round lean on your real projects. More on an AI interview assistant.

Questions people ask

What is the Flipkart machine coding round?

A timed round where you build a small working application, such as a cart with offers or an inventory service, in your own language, then demo it and extend it. Candidates report it is judged on working code, clean design and how easily it takes new requirements.

What is the Flipkart SDE interview process?

Candidates commonly describe an online coding test or screen, a machine coding round, one or two problem-solving rounds, a design round and a hiring manager round. The order and count vary by level and team.

What DSA topics does Flipkart ask?

Standard patterns: heaps, hashing, intervals, graphs and BFS, sliding window, topological sort and dynamic programming, often framed around orders, sellers or warehouses.

How do I prepare for a Flipkart software engineer interview?

Drill core DSA patterns under time, build three or four machine coding problems end to end, practice commerce designs such as flash sales and inventory, and prepare project and incident stories.

Where to go next

Practice with the same assistant you would use on a call: it listens, transcribes and suggests answers from your own resume and the job description.

Facts on this page were last checked on . Product details come from the Natively app itself; if something here is out of date, tell us at hello@heynatively.com.

Keep reading

Put it on your own machine.

A live-conversation assistant that runs locally. Your conversations stay on your machine.

macOS 12+ · Windows 10/11

© 2026 Natively AI Private Limited

Source-available under the Natively Personal Use Source License v1.0 · IP geolocation by DB-IP