Microsoft SDE Intern Interview Experience
š¼ LTIMindtree Interview Experience (On-Campus) | Fresher | 2026
Salesforce SMTS | Interview Experience | Rejected
JPMC | SDE2 (Associate) - Java Backend - Interview Experience + Compensation
Microsoft - SDE2 - Coding Round
Flipkart DSA Questions | Compiled
Summary
This post provides a compiled list of Data Structures and Algorithms questions frequently encountered or asked in Flipkart's interview processes, particularly focusing on the DSA round.
Full Experience
DSA Round (60 mins)
- 2 Questions (Medium level)
- 45 mins to solve
- 15 mins for Introduction & Q/A
Areas to focus on:
- Time Complexity understanding
- Edge Cases
- Choice of best data structure.
- Be verbose, keep it interactive.
Interview Questions (13)
Design a map that allows you to do the following: Maps a string key to a given value. void insert(string key, int val): Inserts the key-val pair into the map. If the key already existed, the original key-value pair will be overridden to the new one. Int sum(string prefix): Returns the sum of the values that have a key with a prefix equal to a given string. There is an initialize() method, in case you want to initialize any internal data structure of your map.
You have ānā empty baskets, you are given the position of the empty baskets in an array called "position", where position[i] specifies the position of the ith basket. Additionally you have m balls to be distributed among the n baskets, You have to distribute the m balls into n baskets such that the minimum magnetic force between any two balls is maximum. The magnetic force between two different balls at position x and y is defined as |x-y|.
Print the maximum element from every k consecutive elements in an array of size n. Given an array nums, there is a sliding window of size k which is moving from the very left of the array to the very right. You can only see the k numbers in the window. Return the maximum sliding window.
Given an integer array, print the count of subarrays which had atmost k distinct elements. Given an integer array nums and an integer k, return the number of subarrays that have at most k distinct elements.
Given a number, find the minimum no of operations done to reduce the number to zero. An operation is defined as subtracting one of the digits from the number.
You are given an m x n grid where each cell can have one of three values: 0 representing an empty cell, 1 representing a fresh orange, or 2 representing a rotten orange. Every minute, any fresh orange that is 4-directionally adjacent to a rotten orange becomes rotten. Return the minimum number of minutes that must elapse until no fresh oranges are present. If this is impossible, return -1.
Minimum time required to propagate the information from root to all child nodes of n-ary tree where in one path, the information can only be propagated at one level and other levels will need to wait.
Preparation Tips
Other Rounds
Check Flipkart Tech blog
Medium articles
Topics to cover
- Binary Search
- Priority Queue (Min Heap and Max Heap)
- Array
- Trees (BFS)