Flipkart Interview Questions

Prepare for success with our curated collection of interview questions. Designed to help students practice and build confidence, these questions cover a range of topics and real-world scenarios to get you ready for your next interview.
Q1: Find First and Last Position in Sorted Array
Given a sorted array, find the starting and ending position of a target value using binary search.
Compute the median of each contiguous subarray of size k in a numeric stream efficiently.
Organize a list of strings into groups of anagrams using hashing.
Return a sorted array of squares of each number from a sorted input, optimally in O(n) time.

Rearrange an array according to given indexes without extra space.

Find the maximum sum by selecting k elements only from the corners (start or end) of the array.

Identify the row in a binary matrix with the greatest number of ones using binary search for efficiency.
Find the length of longest substring without repeating characters using sliding window.
Calculate the least common multiple of multiple numbers efficiently.
Using DP, find minimum number of steps to reduce n to 1 given certain operations.

Design a cache with O(1) get/put and evict least-recently-used item.

Compute the max difference between two elements with the constraint that larger comes after smaller.

Check for balanced parentheses using stack logic.
Partition an array around a given pivot value using pointers.
Find the k-th largest element using heap and partitioning logic.
Detect cycle in prerequisites (directed graph) to check if courses can be finished.

Given an undirected graph, create a deep copy using BFS/DFS.

Design a counter tracking hits in last N seconds efficiently.

Continuously add numbers and find current median fast.

Build an array such that each element is product of all others without division.
Count clusters of connected 1s in a binary matrix using DFS/BFS.
Traverse a matrix in spiral order and return as a list.
Find shortest transformation sequence from start word to target using valid transitions.
Given a list, find the k most frequent elements using hash and heap.
Q1. Parking Lot System
Model slots, floors, entry/exit, ticket calc, and class diagrams for a multi-story parking lot.
Create classes for product, order, user, and implement flows for add, update, cancellation.
Build OOP classes for book, library, user, issue/return, late fees.
Class structure for matching orders with nearby delivery agents and restaurants.
Implement logic for scheduling and retrying notifications, with error handling.
Design APIs/classes for seats, payment, ticket generation, cancellation.
Add/remove/update items with coupon logic in a shopping cart class.
Model debts/credits and group settlements with associated class design.
Classes and APIs for products, stock, alerting when items run low.
Card, account, transaction classes for withdrawal, balance inquiry, error handling.
Singleton logger class with info/error/debug levels in a multithreaded environment.
Backend classes for contacts, history, category tagging, search/filter.
Registration/login/session classes, secure with hashed password logic.
Schedule/backoff jobs, support pause/resume with thread-safety.
Class structure for multi-provider payment processing.
Manage versions, undo/redo, compare diffs for documents.
Objects for customer, drivers, location, request assignment.
Implement a thread-safe blocking queue with producer/consumer.
Timed tests, auto-submit, scoring logic, and user classes.
Per-user and global API rate limiter with storage class design.
Permissions, sharing, folder/file hierarchy.
Store user histories, recommend with class logic.
Class structure for safe distributed resource locking.
Q1. E-commerce Backend Architecture
Design Flipkart’s backend for catalog, payments, order lifecycle, scalability.
Build a backend supporting multiple sellers, ratings, reconciliation, security.
Highly available, real-time push for millions.
Secure, multi-provider payment processing, fraud detection, reconciliation.
Real-time order, delivery, ETA tracker system with scalability.
Fast, faceted product/item search with autosuggest, scale, ranking.
Real-time editing, versioning, user access, conflict resolution.
Design a global static file CDN, storage, cache, access control.
Scalable cache nodes, eviction, failover, performance monitoring.
Real-time and batch analytics for orders, sales, user metrics.
Personalized product/item recommendations using collaborative filtering.
Automate business processes, triggers, approval flow.
Reliable system for email notifications, tracking, retries.
Geo-redundant backups and seamless failover.
Real-time, secure sync across mobile, web, devices.
Gateway for traffic routing, security, version management.
Scale architecture for remote device telemetry and control.
Scalable workflow for invoice, reminders, settlements.
Storage, retrieval, indexing for user documents.
ML-driven pipeline for abnormal transactions in orders/payments.
Build news feed or activity stream with scale and reliability.

Scalable chat system with session management and analytics.

Asynchronous event bus, event handling for business systems.
WhatsApp Icon

Hi Instagram Fam!
Get a FREE Cheat Sheet on System Design.

Hi LinkedIn Fam!
Get a FREE Cheat Sheet on System Design

Loved Our YouTube Videos? Get a FREE Cheat Sheet on System Design.