Flipkart Coding Interview Questions
25 Flipkart coding interview problems with full optimal solutions — 11 easy, 11 medium, 3 hard. Every problem ships with multiple approaches (brute-force first, then the optimal), complexity tables for each, company-specific tips on what an Flipkart interviewer values, and a FAQ section.
Showing 3 problems of 25
- #23hardfoundational
23. Sliding Window Maximum
Return the max of every length-k window in O(n) — Flipkart uses it to test deque fluency, the trick behind their per-pincode peak-traffic dashboards during sale spikes.
- #24hardfoundational
24. Find Median from Data Stream
Maintain the running median of a number stream with O(log n) inserts and O(1) lookups — Flipkart uses it for live latency dashboards during Big Billion Days sale-event spike handling.
- #25hardfoundational
25. Modify Graph Edge Weights
Assign positive weights to '-1' edges so the shortest source-to-destination path equals a given target — Flipkart uses it to test Dijkstra fluency for warehouse routing under SLA constraints.