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

SDE - 1

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

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: Arrays, Trees, Strings, DP, Linked List, OOPS, Algorithms.
Tip
Tip

Tip 1 : Use internet to find the recent asked questions
Tip 2 : Do time yourself while solving the questions like 20mins or so.
Tip 3 : Always keep the interview more interactive, and do try to get the hints from the interview if you are stuck

Application process
Where: Referral
Eligibility: No criteria
Resume Tip
Resume tip

Tip 1 : Try to explain your main projects and tech stack you have worked on in brief
Tip 2 : The format should be good, so that it is easy to read and there us no hodgepodge

Interview rounds

01
Round
Medium
Online Coding Test
Duration120 minutes
Interview date15 Dec 2020
Coding problem1

The round is scheduled according to your availability.
It was on google meets and the interviewer was also helpful
There was a problem statement given like digital wallet with limited functionality like add money, deduct money, give 
cashback, etc.

1. System Design Question

You are supposed to make a digital wallet system that allows people to transfer money.

Problem approach

I used the OOPS concepts and used python as coding language, as you get most of the function out of the box so that saves your time. Rest it is a pretty straight forward problem.

02
Round
Medium
Face to Face
Duration60 minutes
Interview date16 Dec 2020
Coding problem2

Timings are of your availablity.
They shared google sheets on which you have to write code and dry run it.
Try to talk to interviewer don't sit silent.

1. All Root to Leaf Paths In Binary Tree.

Moderate
25m average time
70% success
0/80
Asked in companies
AmazonInfo Edge India (Naukri.com)Mathworks

You are given an arbitrary binary tree consisting of 'N' nodes numbered from 1 to 'N'. Your task is to print all the root to leaf paths of the binary tree.

A leaf of a binary tree is the node which does not have a left child and a right child.


For Example :
Given a binary tree :

alt txt

All the root to leaf paths are :
1 2 4
1 2 5 
1 3

Note :

1. Two nodes may have the same value associated with it.
2. The root node will be fixed and will be provided in the function.
3. Note that the nodes in a path will appear in a fixed order. For example, 1 2 3 is not the same as 2 1 3.
4. Each path should be returned as a string consisting of nodes in order and separated by a space.
5. The path length may be as small as ‘1’.
Problem approach

I tried to create all the paths and then store them in a list and then sort the list and the string at index 0 iw your resultant string.

They asked me improve the space complexity so instead of storing the string i compared them as soon as i find the first sting and gave them i result.

 

Try solving now

2. 3Sum

Moderate
15m average time
85% success
0/80
Asked in companies
Goldman SachsAdobeAmazon

You are given an array/list ARR consisting of N integers. Your task is to find all the distinct triplets present in the array which adds up to a given number K.

An array is said to have a triplet {ARR[i], ARR[j], ARR[k]} with sum = 'K' if there exists three indices i, j and k such that i!=j, j!=k and i!=j and ARR[i] + ARR[j] + ARR[k] = 'K'.

Note:
1. You can return the list of values in any order. For example, if a valid triplet is {1, 2, -3}, then {2, -3, 1}, {-3, 2, 1} etc is also valid triplet. Also, the ordering of different triplets can be random i.e if there are more than one valid triplets, you can return them in any order.
2. The elements in the array need not be distinct.
3. If no such triplet is present in the array, then return an empty list, and the output printed for such a test case will be "-1".
Problem approach

1. I explained the brute force method that is using three for loops, which computes all the possible triplets in the array and finds you the answer for the problem
But they asked for more optimised solution. So i used the two pointer approach.
 

Try solving now
03
Round
Medium
Group Discussion
Duration60 minutes
Interview date16 Dec 2020
Coding problem0

Timing is of your availability
It was more of a discussion on your current on going projects and what tech you have used.

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
1906 views
0 comments
0 upvotes
SDE - 1
3 rounds | 4 problems
Interviewed by Flipkart limited
2198 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