Flipkart Coding Interview Questions: 63 Tagged Problems
63 coding problems tagged Flipkart — 2 easy · 49 medium · 12 hard — with solutions in 13 languages. Plus a 4-week study plan by topic.
- Problems: 63
- By difficulty: 2 easy · 49 medium · 12 hard
- Languages: JavaScript, TypeScript, Python, Java, C++, C, C#, Go, Kotlin, Swift, Rust, PHP and Ruby
- Cost: Free on every plan; sign in to run and submit
63 problems the CodeKairo catalogue tags as commonly asked in Flipkart's coding rounds — 2 easy, 49 medium and 12 hard — each judged by hidden tests in 13 languages. The most common topics among them are Arrays (43), Greedy (14) and Dynamic Programming (13). Tagged for Flipkart and no other company: Design Movie Rental System. CodeKairo's Flipkart — Online Coding mock covers the Flipkart online coding round pattern: three problems in ninety minutes, where complexity is judged as well as correctness. The tag is the catalogue's own annotation of where a problem tends to come up — not a list published by Flipkart, which CodeKairo is not affiliated with.
Flipkart study plan by topic
40 of the 63 problems tagged Flipkart over 4 weeks, about 24 h 50 min of solving, grouped by technique in the order they build on each other — Hash Table, Counting, Math and Two Pointers and 22 more. It ends with the Flipkart — Online Coding mock.
Week 1: Hash Table, Counting, Math +5
12 problems on Hash Table, Counting, Math, Two Pointers, Sliding Window, Prefix Sum, Sorting and Binary Search, easiest first within each topic.
- Find All Duplicates in an Array Medium
- Determine if Two Strings Are Close Medium
- Count Number of Texts Medium
- Next Permutation Medium
- Longest Word in Dictionary Through Deleting Medium
- Maximum Distance Between a Pair of Values Medium
- Subarray With Given Sum Medium
- Maximum XOR for Each Query Medium
- Union of Two Linked Lists Medium
- Maximum Number of Integers to Choose From a Range I Medium
- Minimum Time to Repair Cars Medium
- Search in Rotated Sorted Array II Medium
Week 2: Queue, Monotonic Stack, Monotonic Queue +6
12 problems on Queue, Monotonic Stack, Monotonic Queue, Matrix, Simulation, Intervals, Greedy, Recursion and Divide and Conquer, easiest first within each topic.
- Count Subarrays With Fixed Bounds Hard
- Nearest Smaller Element Easy
- Stock Span Problem Medium
- Maximum of Minimum for Every Window Size Hard
- Maximum Number of Robots Within Budget Hard
- First Completely Painted Row or Column Medium
- Median in a Row-Wise Sorted Matrix Medium
- Push Dominoes Medium
- Minimum Number of Arrows to Burst Balloons Medium
- Divide Array Into Arrays With Max Difference Medium
- Add 1 to a Number Represented as Linked List Medium
- K-th Element of Two Sorted Arrays Medium
Week 3: Quickselect, Heap, Ordered Set +5
12 problems on Quickselect, Heap, Ordered Set, Bit Manipulation, Trees, Backtracking, Graph and Topological Sort, easiest first within each topic.
- Kth Smallest Element Medium
- Maximum Product After K Increments Medium
- Minimum Cost to Connect Sticks Medium
- Maximum Subsequence Score Medium
- Design Movie Rental System Hard
- Minimum Number of Operations to Make Array XOR Equal to K Medium
- Left View of Binary Tree Easy
- Bottom View of Binary Tree Medium
- Numbers With Same Consecutive Differences Medium
- The Celebrity Problem Medium
- Strongly Connected Components (Kosaraju's Algorithm) Hard
- Longest Increasing Path in a Matrix Hard
Week 4: Dynamic Programming
4 problems on Dynamic Programming, easiest first.
- Coin Change II Medium
- 0/1 Knapsack Medium
- Number of Ways to Earn Points Hard
- Matrix Chain Multiplication Hard
Finally: the timed test
Sit the Flipkart — Online Coding mock under the clock — the coding problems are only one part of the round.
Flipkart test patterns
- Flipkart — Online Coding pattern guide and timed mock
The Flipkart interview process, round by round
All problems tagged Flipkart
Easy (2)
- Left View of Binary Tree Tree, Breadth-First Search, Depth-First Search
- Nearest Smaller Element Array, Stack, Monotonic Stack
Medium (49)
- Union of Two Linked Lists Linked List, Hash Table, Sorting
- Add 1 to a Number Represented as Linked List Linked List, Math, Recursion
- Boundary Traversal of Binary Tree Tree, Depth-First Search
- Bottom View of Binary Tree Tree, Breadth-First Search, Hash Table
- Water Connection Problem Graph, Depth-First Search
- Minimum Spanning Tree Graph, Union Find, Minimum Spanning Tree
- Floyd Warshall Graph, Dynamic Programming, Shortest Path
- Gold Mine Problem Array, Dynamic Programming, Matrix
- 0/1 Knapsack Array, Dynamic Programming
- Numbers With Same Consecutive Differences Backtracking, Breadth-First Search
- Next Greater Frequency Element Array, Hash Table, Stack
- The Celebrity Problem Array, Stack, Two Pointers
- Stock Span Problem Array, Stack, Monotonic Stack
- K-th Element of Two Sorted Arrays Array, Binary Search, Divide and Conquer
- Median in a Row-Wise Sorted Matrix Array, Binary Search, Matrix
- Minimized Maximum of Products Distributed to Any Store Array, Binary Search, Greedy
- Count Number of Texts Hash Table, Math, String
- Lexicographically Minimum String After Removing Stars String, Greedy, Heap (Priority Queue)
- Minimum Operations to Exceed Threshold Value II Array, Heap (Priority Queue), Simulation
- Maximum Subsequence Score Array, Greedy, Sorting
- Minimum Cost to Connect Sticks Array, Greedy, Heap (Priority Queue)
- Find the Safest Path in a Grid Array, Matrix, Binary Search
- Detonate the Maximum Bombs Array, Math, Graph
- First Completely Painted Row or Column Array, Matrix, Hash Table
- Spiral Matrix III Array, Matrix, Simulation
- Longest Binary Subsequence Less Than or Equal to K String, Greedy, Dynamic Programming
- Coin Change II Array, Dynamic Programming
- Minimum Number of Arrows to Burst Balloons Array, Greedy, Sorting
- Capacity to Ship Packages Within D Days Array, Binary Search
- Search in Rotated Sorted Array II Array, Binary Search
- Longest Substring with At Most Two Distinct Characters String, Hash Table, Sliding Window
- Push Dominoes String, Two Pointers, Dynamic Programming
- Max Number of K-Sum Pairs Array, Two Pointers, Hash Table
- Maximum Distance Between a Pair of Values Array, Two Pointers, Binary Search
- Maximum OR Bit Manipulation, Array, Greedy
- Maximum XOR for Each Query Bit Manipulation, Array, Prefix Sum
- Minimum Number of Operations to Make Array XOR Equal to K Bit Manipulation, Array
- Minimum Time to Repair Cars Array, Binary Search, Greedy
- Maximum Product After K Increments Array, Greedy, Heap
- Determine if Two Strings Are Close Hash Table, String, Counting
- Maximum Number of Integers to Choose From a Range I Hash Table, Greedy, Binary Search
- Check If a String Can Break Another String String, Greedy, Sorting
- Longest Word in Dictionary Through Deleting String, Two Pointers, Sorting
- Kth Smallest Element Array, Sorting, Quickselect
- Subarray With Given Sum Array, Sliding Window, Two Pointers
- Count Inversions Array, Divide and Conquer, Fenwick Tree
- Divide Array Into Arrays With Max Difference Array, Greedy, Sorting
- Next Permutation Array, Two Pointers
- Find All Duplicates in an Array Array, Hash Table
Hard (12)
- Design Movie Rental System Array, Hash Table, Heap (Priority Queue)
- Strongly Connected Components (Kosaraju's Algorithm) Graph, Depth-First Search
- Word Wrap Array, Dynamic Programming
- Boolean Parenthesization String, Dynamic Programming
- Matrix Chain Multiplication Array, Dynamic Programming
- Maximum of Minimum for Every Window Size Array, Stack, Monotonic Stack
- Triples with Bitwise AND Equal To Zero Array, Hash Table, Bit Manipulation
- Longest Increasing Path in a Matrix Array, Matrix, Dynamic Programming
- Number of Ways to Earn Points Array, Dynamic Programming
- Minimum Number of Taps to Open to Water a Garden Array, Greedy, Dynamic Programming
- Count Subarrays With Fixed Bounds Array, Sliding Window, Two Pointers
- Maximum Number of Robots Within Budget Array, Sliding Window, Two Pointers
Topics Flipkart asks most
- Arrays 43 problems
- Greedy 14 problems
- Dynamic Programming 13 problems
- Hash Table 12 problems
- Strings 9 problems
- Two Pointers 9 problems
- Sorting 9 problems
- Binary Search 9 problems
- Heap 7 problems
- Stack 6 problems
- Matrix 6 problems
- Graph 6 problems