Flipkart limited interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Flipkart limited
upvote
share-icon
4 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 4 months
Topics: Arrays, Trees, BFS, DFS, Dynamic Programming, Graphs, Greedy Algorithms, Tries.Operating systems, Object-Oriented Programming, Writing clean code, Multi threading.
Tip
Tip

Tip 1 : Practice is the key. No shortcut. Be as consistent as you can.
Tip 2 : Make a plan as per your strengths and weaknesses. No one can do this better other than you.
Tip 3 : Don't neglect topics like operating systems, OOPs, and multithreading. Just give it at least a read.

Application process
Where: Referral
Eligibility: Atleast 6 months experience
Resume Tip
Resume tip

Tip 1 : Prepare for every possible question on any topic that you write in your resume.
Tip 2 : Make use of a clean template and write precisely.
Tip 3 : Highlight relevant projects

Interview rounds

01
Round
Medium
Online Coding Test
Duration90 minutes
Interview date1 Dec 2021
Coding problem1

You can code the given question in any language and in any IDE. But one has to share the screen throughout the round. It will be recorded. No person will be there.
Time is very strict in this round. You have to submit the code file in a google form before the time ends. The form closes very sharply. Better to close the coding and submit the code file before 2-3 mins of the finish time.

1. System Design Question

Design bowling alley scoreboard.

The game rules to be followed are standard bowling rules like:

1. A game consists of ten sets
2. In each set, the player has two opportunities to knock down ten pins.
3. The score for a set is the total number of pins knocked down, plus bonuses for strikes and spares.
4. A spare is when the player knocks down all ten pins in two tries. If there is a spare the player gets 5 bonus points.
5. A strike is when the player knocks down all ten pins on his/her first try. If there is a strike the player gets 10 bonus points.
6. In the final set, a player who rolls a spare or a strike is allowed to roll the extra balls to complete the set. However, only a maximum of three balls can be rolled in the final set.

Problem approach

Tip 1 : Write your code in a modular fashion.
Tip 2 : Target to solve the basic test cases first.
Tip 3 : Usage of proper names for variables and functions is a must.

02
Round
Hard
Video Call
Duration100 minutes
Interview date7 Dec 2021
Coding problem1

This round is completely based on the first round. No new questions were asked. Different test cases in different possibilities were asked to compile.

1. System Design Question

They defined a completely new set of rules to be applied. And asked to change the code accordingly so that these rules can be followed while calculating the score. 
A lot of corner cases were asked to compile.

Problem approach

Tip 1 : Make sure that the code is very very modular so that you can include new rules without much changes to old code
Tip 2 : Think loud. Explain your thought process while you make code changes. Explain why you are writing that.
Tip 3 : It would give you a high advantage if you implement the code with some design pattern.!

03
Round
Medium
Online Coding Interview
Duration60 minutes
Interview date13 Dec 2021
Coding problem2

2 questions of DSA were asked of medium level.

1. Number Of Vehicles

Easy
15m average time
85% success
0/40
Asked in companies
MicrosoftSuperProcureTCS

There is a person named Bob who is the mayor of a state. He wants to find the maximise number of vehicles that can be registered in his state.

A vehicle normally has a registration number like ST 01 AB 1234. Each registration number has four parts, separated by spaces. The first part has two letters common for all cars in the state. The next two-digit number is the number of the district where the car is registered within the state. It is always two digits and may have a leading zero. After that, the next part consists of two letters (AB), with each letter selected from a range, denoting the series and the last part is a 4-digit number this will always be four digits, even if it has leading zeros).

The entire registration number is unique to each vehicle. You have been given the number of districts in the state, a range of letters to be used in the series and a set of digits that can be used for forming a vehicle registration number.

Your task is to find the maximum number of vehicles that can be registered in Bob’s state.

Note :

1. No two vehicles can have the same registration number. 
2. Two registration numbers are said to be different if they have at least a different character or a digit at the same location. For eg. DL 05 AC 1234 and DL 05 AC 1235 are different, DL 05 AC 1234 and DL 05 AB 1234 are different registration numbers. 
3. All the cars will have the same first two characters as they have to be registered in the same state.
4. The numbering of the districts in the state starts from ‘1’ (which will obviously be written as 01 in registration number).
Problem approach

I came up with a brute force solution first which took O(n^2) and asked to optimize.
Then I came up with the sort + 2-pointers technique.

This was able to cover almost all cases in the stipulated time.

Try solving now

2. Populating Next Right Pointers In Each Node

Moderate
25m average time
75% success
0/80
Asked in companies
AmazonMathworksMorgan Stanley

You have been given a complete binary tree of ‘N’ nodes. The nodes are numbered 1 to ‘N’.

You need to find the ‘next’ node that is immediately right in the level order form for each node in the given tree.

Note :

1. A complete binary tree is a binary tree in which nodes at all levels except the last level have two children and nodes at the last level have 0 children.
2. Node ‘U’ is said to be the next node of ‘V’ if and only if  ‘U’ is just next to ‘V’ in tree representation.
3. Particularly root node and rightmost nodes have ‘next’ node equal to ‘Null’ 
4. Each node of the binary tree has three-pointers, ‘left’, ‘right’, and ‘next’. Here ‘left’ and ‘right’ are the children of node and ‘next’ is one extra pointer that we need to update.

For Example :

1

The‘next’ node for ‘1’ is ‘Null’, ‘2’ has ‘next’ node ‘6’, ‘5’ has ‘next’ node ‘3’, For the rest of the nodes check below.

1

Try solving now
04
Round
Medium
Video Call
Duration60 minutes
Interview date18 Dec 2021
Coding problem1

High-level system design.

1. Technical Questions

High-level discussion of multi-threading usage in a given scenario. How different concepts of multi-threading can be used to handle different problems. 
This round was taken by a manager. So I was asked some behavioral questions in the same round.

Problem approach

Tip 1 : Be confident and make your answers very clear.
Tip 2 : Even though if you can't give an exact solution, tell how you are approaching the problem.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
SDE - 1
3 rounds | 10 problems
Interviewed by Flipkart limited
2634 views
0 comments
0 upvotes
SDE - 1
3 rounds | 7 problems
Interviewed by Flipkart limited
1189 views
0 comments
0 upvotes
SDE - 1
3 rounds | 3 problems
Interviewed by Flipkart limited
1718 views
0 comments
0 upvotes
SDE - 1
3 rounds | 4 problems
Interviewed by Flipkart limited
2197 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
115097 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
58238 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
35147 views
7 comments
0 upvotes