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.
- DSA
- LLD
- HLD

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.
Q2: Sliding Window Median
Compute the median of each contiguous subarray of size k in a numeric stream efficiently.
Q3: Group Anagrams
Organize a list of strings into groups of anagrams using hashing.
Q4: Squaring a Sorted Array
Return a sorted array of squares of each number from a sorted input, optimally in O(n) time.
Q5: Reorder Array According to Indexes
Rearrange an array according to given indexes without extra space.
Q6: Maximum Sum of k Corner Elements
Find the maximum sum by selecting k elements only from the corners (start or end) of the array.
Q7: Row With Maximum Ones
Identify the row in a binary matrix with the greatest number of ones using binary search for efficiency.
Q8: Longest Substring Without Repeating Characters
Find the length of longest substring without repeating characters using sliding window.
Q9: LCM of Array Elements
Calculate the least common multiple of multiple numbers efficiently.
Q10: Minimum Steps to Reduce Number to 1
Using DP, find minimum number of steps to reduce n to 1 given certain operations.
Q11: Implement LRU Cache
Design a cache with O(1) get/put and evict least-recently-used item.
Q12: Maximum Difference in an Array
Compute the max difference between two elements with the constraint that larger comes after smaller.
Q13: Valid Parentheses
Check for balanced parentheses using stack logic.
Q14: Rearrange Array Around Pivot
Partition an array around a given pivot value using pointers.
Q15: Kth Largest Element
Find the k-th largest element using heap and partitioning logic.
Q16: Course Schedule
Detect cycle in prerequisites (directed graph) to check if courses can be finished.
Q17: Clone a Graph
Given an undirected graph, create a deep copy using BFS/DFS.
Q18: Design Hit Counter
Design a counter tracking hits in last N seconds efficiently.
Q19: Median Finder From Data Stream
Continuously add numbers and find current median fast.
Q20: Product Except Self
Build an array such that each element is product of all others without division.
Q21: Find Number of Islands
Count clusters of connected 1s in a binary matrix using DFS/BFS.
Q22: Spiral Order Matrix Traversal
Traverse a matrix in spiral order and return as a list.
Q23: Word Ladder Transform
Find shortest transformation sequence from start word to target using valid transitions.
Q24: Top K Frequent Elements
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.
Q2. Order Management System
Create classes for product, order, user, and implement flows for add, update, cancellation.
Q3. Library Management API
Build OOP classes for book, library, user, issue/return, late fees.
Q4. Food Delivery Matching Engine
Class structure for matching orders with nearby delivery agents and restaurants.
Q5. Notification Service Scheduler
Implement logic for scheduling and retrying notifications, with error handling.
Q6. Movie Ticket Booking
Design APIs/classes for seats, payment, ticket generation, cancellation.
Q7. Shopping Cart
Add/remove/update items with coupon logic in a shopping cart class.
Q8. Splitwise Calculator
Model debts/credits and group settlements with associated class design.
Q9. Inventory Tracker
Classes and APIs for products, stock, alerting when items run low.
Q10. ATM Operations
Card, account, transaction classes for withdrawal, balance inquiry, error handling.
Q11. Thread-safe Logger
Singleton logger class with info/error/debug levels in a multithreaded environment.
Q12. CRM Contacts Management
Backend classes for contacts, history, category tagging, search/filter.
Q13. User Authentication
Registration/login/session classes, secure with hashed password logic.
Q14. Job Scheduler
Schedule/backoff jobs, support pause/resume with thread-safety.
Q15. Payment Gateway Integration Layer
Class structure for multi-provider payment processing.
Q16. Version-controlled Document Store
Manage versions, undo/redo, compare diffs for documents.
Q17. Ride Matching System
Objects for customer, drivers, location, request assignment.
Q18. Block Queue (Producer/Consumer)
Implement a thread-safe blocking queue with producer/consumer.
Q19. Extended Input Set
Timed tests, auto-submit, scoring logic, and user classes.
Q20. Rate Limiter
Per-user and global API rate limiter with storage class design.
Q21. File Sharing Management
Permissions, sharing, folder/file hierarchy.
Q22. Product Recommendation
Store user histories, recommend with class logic.
Q23. Distributed Lock Manager
Class structure for safe distributed resource locking.
Q1. E-commerce Backend Architecture
Design Flipkart’s backend for catalog, payments, order lifecycle, scalability.
Q2. Online Marketplace (Multi-vendor)
Build a backend supporting multiple sellers, ratings, reconciliation, security.
Q3. Global Notification Service
Highly available, real-time push for millions.
Q4. Payment Gateway
Secure, multi-provider payment processing, fraud detection, reconciliation.
Q5. Order Tracking Pipeline
Real-time order, delivery, ETA tracker system with scalability.
Q6. Search Engine Service
Fast, faceted product/item search with autosuggest, scale, ranking.
Q7. Collaborative Document Editing
Real-time editing, versioning, user access, conflict resolution.
Q8. CDN For Static Assets
Design a global static file CDN, storage, cache, access control.
Q9. Distributed Caching Infra
Scalable cache nodes, eviction, failover, performance monitoring.
Q10. User Analytics Pipeline
Real-time and batch analytics for orders, sales, user metrics.
Q11. Recommendation Engine
Personalized product/item recommendations using collaborative filtering.
Q12. Workflow Automation Platform
Automate business processes, triggers, approval flow.
Q13. High-volume Email Processing
Reliable system for email notifications, tracking, retries.
Q14. Multi-region Disaster Recovery
Geo-redundant backups and seamless failover.
Q15. Mobile Payment App Sync
Real-time, secure sync across mobile, web, devices.
Q16. API Gateway and Versioning
Gateway for traffic routing, security, version management.
Q17. IoT Device Management
Scale architecture for remote device telemetry and control.
Q18. Invoice/Billing
Scalable workflow for invoice, reminders, settlements.
Q19. Document Search and Index
Storage, retrieval, indexing for user documents.
Q20. Fraud Detection System
ML-driven pipeline for abnormal transactions in orders/payments.
Q21. Real-time Feed Service
Build news feed or activity stream with scale and reliability.
Q22. Customer Chat Support Platform
Scalable chat system with session management and analytics.
Q23. Event-driven Microservices Design
Asynchronous event bus, event handling for business systems.