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

SDE - 1

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

Interview preparation journey

expand-icon
Preparation
Duration: 4 months
Topics: Arrays, Linkedlists, Trees, DP, Graphs, OOPS, LLD
Tip
Tip

Tip 1 : Practice machine coding questions from various platforms
Tip 2 : Practice standard interview questions from internet, cover all data structures and important algorithms
Tip 3 : Note down your approach somewhere and revisit that document later to revise

Application process
Where: Referral
Resume Tip
Resume tip

Tip 1 : Use standard templates, don't go for fancy ones
Tip 2 : Keeps the info short and concise with important keywords

Interview rounds

01
Round
Medium
Video Call
Duration90 minutes
Interview date18 May 2021
Coding problem1

It was a machine coding round. 
Interviewer will explain and present a low level design question.
90 minutes to prepare design and code without using any databases.
After this we have a one on one with a panel to discuss the solution.

1. System Design

Implement an e-commerce platform application.

  • The application allows sellers to list products on the platform.
  • Users can either sell a product (Seller) or buy any listed product(Buyer).
  • Buyer can search and select one from multiple available products with the same name.
  • Application should allow user onboarding.
  • Users(sellers) should be able to list products on the platform with details.
  • Users(buyer) can select a product from multiple offered products using a selection strategy.
  • List all products sold/bought by any user.
Problem approach

Tip 1 : Read the requirements doc thoroughly and come up with a small class diagram on paper before starting to code
Tip 2 : Make sure to test the code after every new feature if possible
Tip 3 : Make sure to cover corner cases

02
Round
Medium
Video Call
Duration60 minutes
Interview date18 May 2021
Coding problem2

This is a Problem solving round where they ask two DSA questions. We have to discuss possible solutions and write pseudo code for them. Interviewers were friendly and polite.

1. Min Cost To Buy N Items

Easy
10m average time
90% success
0/40
Asked in companies
SquadstackOYOBYJUS

Ninja Yuki is in the mood of shopping ninja blades today, and why should he not be, its finally the time for the Spring Fair in his Village. Initially, he has 0 number of blades and aims to buy ‘N’ of them from the fair. But the blade shopkeeper being a cunning man himself, presents a weird way of pricing the number of ninja blades Yuki can buy.

Suppose at any instance Yuki has ‘K’ number of blades, then:

1) Yuki can buy 1 more blade with cost 'A.’ He now has ‘K+1’ Ninja blades.
2) Yuki could buy a ‘K’ number of blades with cost 'B.’ He now has ‘2*K’ blades.
where 'A' and 'B' are predefined and constant.

Yuki does not want to get robbed in the fair. Being his nerd friend can you tell him the minimum price he needs to pay to buy exactly ‘N’ ninja blades, considering he has 0 blades initially?

Note:

There can be two or more ways with the exact cost. You can consider any one of them, but the overall cost to reach from 0 to 'N' must be minimized.

For example:

Consider Yuki need to buy 5 blades, the cost of adding 1 blade is 2, and the cost of doubling the blades is 1 then you have to perform the following operations:
1) Doubling 0 will result in 0 only, so add 1 blade to 0 blades with cost 2. Total cost becomes 2.

2) Next, you can either double 1 to reach 2 or add 1 blade. But since the cost of doubling is less than that of adding, so double 1 with cost 1. Total cost becomes 3.

3) Doubling 2 will result in 4 with a cost of 1. Total becomes 4.

4) Adding 1 in 4 will result in 5 (which is the desired number) with a cost of 2. The total cost to reach 5 becomes 6.
Problem approach

If we fix j, then i and k are independent. We can get the best i by iterating while i
We can do the same for j
Time complexity O(n^2)

Try solving now

2. Sum root to leaf

Easy
10m average time
90% success
0/40
Asked in companies
MicrosoftUnacademyMorgan Stanley

You are given an arbitrary binary tree consisting of N nodes where each node is associated with a certain integer value from 1 to 9. Consider each root to leaf path as a number.

For example:

       1
      /  \
     2    3

The root to leaf path 1->2 represents the number 12.
The root to leaf path 1->3 represents the number 13.

Your task is to find the total sum of all the possible root to leaf paths.

In the above example,

The total sum of all the possible root to leaf paths is 12+13 = 25
Note:
The output may be very large, return the answer after taking modulus with (10^9+7).
Problem approach

We need to check recursively if the node to leaf path sum of a node's left or right child is equal to (target - current node value)

Interviewer asked me to give all such paths. I suggested using a stack to store the path, pop nodes off the stack recursively if the path sum does not add up. If it does add up then store the contents of the stack as a path in a list of lists. Finally return this list.

Try solving now
03
Round
Medium
HR Round
Duration45 minutes
Interview date18 May 2021
Coding problem1

It was a hiring manager round. The HM asked me to introduce myself and asked about my background, work experience. It was a 45 -50 minutes round with a senior engineering manager.

1. Basic HR Questions

  • Explain about your team and your role in your team.
  • What technologies you are working on?
  • Why do you want to join Flipkart?
  • Why do you want to leave your current company? 
  • How will you rate a manager? 
  • How do you work as a team?
Problem approach

Tip 1 : Keeps things honest and simple
Tip 2 : Make sure you don't contradict yourself
Tip 3 : Speak confidently

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