All company sheets
Flipkart DSA interview questions
52 problems to practise before your Flipkart online test or coding round. Most widely asked first.
52
Questions
14
Easy
33
Medium
5
Hard
Commonly reported. Problems candidates often report from this company’s coding rounds. These are Astra’s own tags, not an official question list.
52 questions
- 1
Meeting Rooms
EasyGreedyTagged at 7 companies - 2
Reverse a String Using Recursion
EasyRecursionTagged at 7 companies - 3
Convert a Sorted Array to a Height-Balanced BST
EasyRecursionTagged at 7 companies - 4
Check for a Valid Perfect Square
EasyBinary SearchTagged at 7 companies - 5
Find Maximum Profit from Buying and Selling Stock
EasyArrayTagged at 7 companies - 6
Move All Zeroes to the End of an Array In-Place
EasyArrayTagged at 7 companies - 7
Fraud Detection Repeat IP Logins
EasySliding WindowTagged at 7 companies - 8
Is Subsequence
EasyTwo PointersTagged at 7 companies - 9
Valid Palindrome II
EasyTwo PointersTagged at 7 companies - 10
Squares of a Sorted Array
EasyTwo PointersTagged at 7 companies - 11
Product of Array Except Self
MediumArrayTagged at 7 companies - 12
Subarray Sum Equals K
MediumArrayTagged at 7 companies - 13
Find the Duplicate Number
MediumArrayTagged at 7 companies - 14
Find Peak Element
MediumArrayTagged at 7 companies - 15
Construct Binary Tree from Preorder and Inorder Traversal
MediumRecursionTagged at 7 companies - 16
Find the Number of Provinces in a Country
MediumRecursionTagged at 7 companies - 17
Solve the Aggressive Cows Problem
MediumBinary SearchTagged at 7 companies - 18
Maximize Value at a Given Index in a Bounded Array
MediumBinary SearchTagged at 7 companies - 19
Find the Kth Missing Positive Number
MediumBinary SearchTagged at 7 companies - 20
Minimum Number of Days to Make 'm' Bouquets
MediumBinary SearchTagged at 7 companies - 21
Find Smallest Common Element in All Rows
MediumBinary SearchTagged at 7 companies - 22
Generate the Next Lexicographical Permutation
MediumArrayTagged at 7 companies - 23
Find the K-th Largest Element in an Array (Quickselect)
MediumArrayTagged at 7 companies - 24
Implement the Coin Change Problem (Minimum Coins)
MediumArrayTagged at 7 companies - 25
Find the Gas Station (Circular Route)
MediumArrayTagged at 7 companies - 26
Spotify Collaborative Playlist Shuffler
MediumArrayTagged at 7 companies - 27
Maximum Points You Can Obtain from Cards
MediumSliding WindowTagged at 7 companies - 28
Maximum Number of Vowels in a Substring of Given Length
MediumSliding WindowTagged at 7 companies - 29
Design a Moving Average from a Data Stream
EasyStack and QueueTagged at 6 companies - 30
Find Intersection Point of Two Sorted Linked Lists
EasyLinkedListTagged at 6 companies - 31
Find the Point of Intersection of Two Lists (Length Method)
EasyLinkedListTagged at 6 companies - 32
Find all Root-to-Leaf Paths in an N-ary Tree
EasyTreeTagged at 6 companies - 33
Longest Substring Without Repeating Characters
MediumStringTagged at 6 companies - 34
Validate Binary Search Tree
MediumTreeTagged at 6 companies - 35
Maximal Square
MediumDPTagged at 6 companies - 36
Count Vowels Permutation
MediumDPTagged at 6 companies - 37
Find the Minimum Cost Tree From Leaf Values
MediumStack and QueueTagged at 6 companies - 38
Remove Nth Node From End of The List
MediumLinkedListTagged at 6 companies - 39
Reverse a Linked List Sub-list (from m to n)
MediumLinkedListTagged at 6 companies - 40
Find Next Greater Node in Linked List
MediumLinkedListTagged at 6 companies - 41
Insert into a Sorted Circular Linked List
MediumLinkedListTagged at 6 companies - 42
Delete a Node in a Linked List with O(1) Time Complexity
MediumLinkedListTagged at 6 companies - 43
Delete a Node from a Circular Linked List
MediumLinkedListTagged at 6 companies - 44
Convert an N-ary Tree to a Binary Tree
MediumTreeTagged at 6 companies - 45
Find Maximum Running Time of N Computers
HardBinary SearchTagged at 6 companies - 46
Permutations
MediumBacktrackingTagged at 5 companies - 47
Number of Connected Components in an Undirected Graph
MediumGraphTagged at 5 companies - 48
Letter Combinations of a Phone Number
MediumBacktrackingTagged at 5 companies - 49
Implement the Rabin-Karp String Matching Algorithm
HardStringTagged at 5 companies - 50
Word Break II
HardDPTagged at 4 companies - 51
Count Ways to Build Array With Conditions
HardDPTagged at 4 companies - 52
Read N Characters Given Read4 II - Call Multiple Times
HardDesignTagged at 3 companies