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

SDE - 1

Flipkart
upvote
share-icon
4 rounds | 8 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 4 months
Topics: Data Structures, Algorithms, Database management and system, Operating system, Computer Organization and Architecture
Tip
Tip

Tip 1 : Understand basics first
Tip 2 : Do practice regularly.
Tip 3 : Refresh your OS and OOPS concepts

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

Tip 1 : Write those projects, which you understand the whole and thorough with it
Tip 2 : Make it of at most one page.

Interview rounds

01
Round
Easy
Online Coding Test
Duration90 minutes
Interview date25 Jul 2019
Coding problem1

3 coding questions, two of easy and 1 medium(DP)

1. Maximum Subarray Sum

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

Given an array of numbers, find the maximum sum of any contiguous subarray of the array.


For example, given the array [34, -50, 42, 14, -5, 86], the maximum sum would be 137, since we would take elements 42, 14, -5, and 86.


Given the array [-5, -1, -8, -9], the maximum sum would be -1.


Follow up: Do this in O(N) time.

Problem approach

Straightforward kind of a question.

Try solving now
02
Round
Easy
Face to Face
Duration60 minutes
Interview date25 Jul 2019
Coding problem2

Face to face coding round, asked 2 questions, of medium complexity

1. Shuffle Two Strings

Hard
50m average time
50% success
0/120
Asked in companies
GoogleTata Consultancy Services (TCS)Accenture

You are given three strings “A”, “B” and “C”. Your task is to check whether “C” is formed by an interleaving of A and B. C is said to be interleaving “A” and “B”, if the length of “C” is equal to the sum of the length of A and length of B, all the characters of “A” and “B” are present in “C”, and the order of all these characters remains the same in all three strings.

For Example:
If A = “aab”, B = “abc”, C = “aaabbc”
Here C is an interleaving string of A and B. Because C contains all the characters of A and B and the order of all these characters is also the same in all three strings.

interleaving

If A = “abc”, B = “def”, C = “abcdefg”
Here C is not an interleaving string of A and B as neither A nor B contains the character ‘g’.
Problem approach

1. Calling the random function and removing and appending at the front of the list
2. Keeping two numbers in one place

Try solving now

2. Design a stack that supports getMin() in O(1) time and O(1) extra space

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

Create a stack data structure that allows operations such as push (adding an element), pop (removing the top element), top (retrieving the top element), and also provides a way to retrieve the minimum element in constant time.


Implement the following public functions :

1. push(data) :
This function should take one argument of type integer. It pushes the element into the stack and returns nothing.

2. pop() :
It pops the element from the top of the stack and returns nothing.

3. top() :
It returns the element being kept at the top of the stack.

4.  getMin() :
It returns the smallest element present in the stack.
Operations Performed on the Stack:
Query-1(Denoted by an integer 1): Pushes integer data to the stack. (push function)

Query-2(Denoted by an integer 2): Pops the data kept at the top of the stack. (pop function)

Query-3(Denoted by an integer 3): Fetches and returns the data being kept at the top of the stack. (top function)

Query-4(Denoted by an integer 4): Returns the smallest element present in the stack. (getMin() function)
Try solving now
03
Round
Medium
Face to Face
Duration90 minutes
Interview date26 Jul 2019
Coding problem3

Various data structure and algo questions

1. Left View Of a Binary Tree

Moderate
30m average time
60% success
0/80
Asked in companies
SalesforceBNY MellonOla

You have been given a Binary Tree of 'n' nodes, where the nodes have integer values



Example :
If the input tree is as depicted in the picture: 

alt text

The Left View of the tree will be:  2 35 2 
Try solving now

2. Right View

Moderate
35m average time
65% success
0/80
Asked in companies
AdobeUberApple

You have been given a Binary Tree of integers.

Your task is to print the Right view of it.

The right view of a Binary Tree is a set of nodes visible when the tree is viewed from the Right side and the nodes are printed from top to bottom order.

Try solving now

3. Zigzag Binary Tree Traversal

Easy
10m average time
90% success
0/40
Asked in companies
Goldman SachsAmazonFlexiEle Consulting Services (FE)

You are given a ‘Binary Tree’.


Return the level-order traversal of the Binary Tree.


Example:
Input: Consider the following Binary Tree:

Example

Output: 
Following is the level-order traversal of the given Binary Tree: [1, 2, 3, 5, 6, 4]


Try solving now
04
Round
Medium
HR Round
Duration90 minutes
Interview date26 Jul 2019
Coding problem2

Hiring manager round, he asked coding questions and probability questions.
the median in the stream of integers, and the probability question I couldn't solve and previous projects I have done.

1. Basic HR Question

Who do you admire and why?

2. Reverse the String

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

You are given a string 'STR'. The string contains [a-z] [A-Z] [0-9] [special characters]. You have to find the reverse of the string.

For example:

 If the given string is: STR = "abcde". You have to print the string "edcba".
follow up:
Try to solve the problem in O(1) space complexity. 
Try solving now

Here's your problem of the day

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

Skill covered: Programming

Which SQL clause is used to specify the conditions in a query?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 10 problems
Interviewed by Flipkart
2526 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 4 problems
Interviewed by Flipkart
2374 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 4 problems
Interviewed by Flipkart
2091 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 4 problems
Interviewed by Flipkart
1353 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
5 rounds | 12 problems
Interviewed by Amazon
113897 views
24 comments
0 upvotes
company logo
SDE - 1
4 rounds | 5 problems
Interviewed by Microsoft
57280 views
5 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by Amazon
34687 views
6 comments
0 upvotes