Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Flipkart Team. If you also belong to the team, you can get access from here

Flipkart Verified Tick

Compare button icon Compare button icon Compare

Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards

zig zag pattern zig zag pattern

Filter interviews by

Flipkart Software Developer Interview Questions, Process, and Tips

Updated 2 Dec 2024

Top Flipkart Software Developer Interview Questions and Answers

  • Q1. Search In Rotated Sorted Array Problem Statement Given a sorted array of distinct integers that has been rotated clockwise by an unknown amount, you need to search for a ...read more
  • Q2. Missing Number Problem Statement You are provided with an array named BINARYNUMS consisting of N unique strings. Each string represents an integer in binary, covering ev ...read more
  • Q3. Smallest Window Problem Statement Given two strings S and X containing random characters, the task is to find the smallest substring in S which contains all the characte ...read more
View all 81 questions

Flipkart Software Developer Interview Experiences

35 interviews found

Interview Questionnaire 

7 Questions

  • Q1. Check whether given Binary Tree is a Binary Search Tree. Discuss various approaches?
  • Ans. 

    Check if a Binary Tree is a Binary Search Tree

    • Inorder traversal of BST should be in ascending order

    • Check if left child is less than parent and right child is greater than parent

    • Recursively check left and right subtrees

    • Use min and max values to check if nodes are within valid range

  • Answered by AI
  • Q2. Given a large list of numbers in a file and a very small amount of memory, sort the file
  • Ans. 

    Sort a large file of numbers with limited memory

    • Use external sorting algorithms like merge sort or quick sort

    • Divide the file into smaller chunks that can fit into memory

    • Sort each chunk and merge them together using a priority queue

    • Consider using disk-based sorting techniques like replacement selection

    • Optimize I/O operations to minimize disk access

  • Answered by AI
  • Q3. Implement a phone book. You can search either by name or phone number. You can search by prefix also. Write whole code with proper syntax
  • Ans. 

    Implement a phone book with search by name or phone number and prefix.

    • Create an array of strings to store contacts

    • Implement a function to add contacts to the array

    • Implement a function to search by name or phone number

    • Implement a function to search by prefix

    • Use regular expressions to match prefixes

  • Answered by AI
  • Q4. Given an array of integers, find Pythagorean triplets. i.e. find a,b and c which satisfies a^2 + b^2 = c^2. Integers could be positive or negative
  • Ans. 

    Find Pythagorean triplets in an array of integers.

    • Loop through the array and pick two numbers at a time.

    • Calculate the sum of squares of the two numbers.

    • Check if the sum is a perfect square.

    • If yes, then it is a Pythagorean triplet.

    • Repeat until all possible combinations are checked.

  • Answered by AI
  • Q5. Given a number, compute the nearest palindrome number. This palindrome number should be greater than given number
  • Ans. 

    Compute the nearest palindrome number greater than given number.

    • Convert the given number to string and reverse it.

    • Add the reversed string to the original number and check if it's a palindrome.

    • If not, repeat the process until a palindrome is found.

    • If the original number is already a palindrome, add 1 to it and repeat the process.

  • Answered by AI
  • Q6. Given two string str and pat. Find minimum window in str which contains all characters from string pat
  • Ans. 

    Find minimum window in a string which contains all characters from another string.

    • Use a sliding window approach

    • Create a frequency map of characters in pat

    • Iterate through str and update frequency map

    • Keep track of minimum window that contains all characters

    • Return minimum window

  • Answered by AI
  • Q7. Input : 4 jars and 50 balls of different colors (Red, Green, Yellow, Blue) where each jar can contain a maximum of 100 balls.Problem : When a user draws a red ball he loses his money while if he draws a ba...
  • Ans. 

    Arrange balls in 4 jars to maximize probability of user losing money when drawing a red ball.

    • Place all red balls in one jar and the rest in the other jars

    • Ensure that the jar with red balls has the highest probability of being chosen

    • Randomize the placement of the jars to add an element of chance

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: It was online coding round on interview street. (1Hr)
Duration: 60 minutes

Skill Tips: The technical questions asked mostly deal with data structures and common algorithms
Skills: Data structures, Algorithm
College Name: NA

Skills evaluated in this interview

Interview Questionnaire 

7 Questions

  • Q1. Write a code to check if a tree is BST or not
  • Ans. 

    Code to check if a tree is BST or not

    • Check if left subtree is BST

    • Check if right subtree is BST

    • Check if max value in left subtree is less than root

    • Check if min value in right subtree is greater than root

  • Answered by AI
  • Q2. Modify this code to find the maximum subtree in tree which is a BST. Maximum subtree means subtree goes upto its leaves from any node. Modify the code again to find the maximum tree which is a BST. BST can...
  • Ans. 

    Modify code to find maximum BST subtree and maximum BST tree in a given tree.

    • Create a function to check if a given tree is a BST

    • Traverse the tree and check if each subtree is a BST

    • Keep track of the maximum BST subtree found so far

    • To find maximum BST tree, check if each node can be the root of a BST

    • Keep track of the maximum BST tree found so far

  • Answered by AI
  • Q3. There is code like var i; { .. var j; .. } var k; .. var a; { .. var c; { var i; } .. var d; .. } For simplicity you may assume that there is only one variable declaration on 1 line. Now given a line numbe...
  • Ans. 

    Algorithm to determine valid variables on a given line of code.

    • Create a stack to keep track of variable declarations

    • Traverse the code line by line

    • When encountering a variable declaration, push it onto the stack

    • When encountering a closing brace, pop all variables declared within that scope

    • Return all variables still on the stack when reaching the given line number

  • Answered by AI
  • Q4. Implement LRU cache. Write a code for this. LRU cache supports 3 operations, put(key, value) get(key) remove(key)
  • Ans. 

    Implement LRU cache with put, get, and remove operations.

    • LRU stands for Least Recently Used.

    • The cache should have a maximum capacity.

    • When the cache is full, the least recently used item should be removed.

    • When an item is accessed, it should be moved to the front of the cache.

    • Use a doubly linked list and a hash map to implement the cache efficiently.

  • Answered by AI
  • Q5. Implement next_permutation function (similar to what is in algorithm.h)
  • Ans. 

    next_permutation function generates the next greater lexicographic permutation of a sequence

    • The function modifies the sequence to its next permutation if possible

    • If the sequence is already the largest permutation, it rearranges it to the smallest permutation

    • The function returns true if a next permutation exists, else false

    • The sequence must be sorted in non-descending order before calling the function

  • Answered by AI
  • Q6. Given n sequences, and starting and stopping point of every sequence with its score. For eg. no of sequences = 5 start stop score 0 4 4 3 10 11 6 8 8 7 15 10 11 15 4 All scores are positive. You have to fi...
  • Ans. 

    Given n sequences with start, stop and score, find maximum subset of non-overlapping sequences with maximum total score.

    • Sort the sequences by their end points.

    • Use dynamic programming to find the maximum sum of non-overlapping sequences.

    • Keep track of the previous non-overlapping sequence with maximum sum.

    • Return the maximum sum and the corresponding non-overlapping sequences.

  • Answered by AI
  • Q7. Normal discussion on work culture, teams etc

Interview Preparation Tips

Round: Technical Interview
Experience: Implement LRU cache. Write a code for this. LRU cache supports 3 operations,
put(key, value)
get(key)
remove(key)
P.S. This is very important and actually good question. Even if you know the answer, dont rush with it. Take your time to frame the algorithm. Always speak your thoughts. Interviewers like to know the way you are thinking in.
Q3. WAP to get the next higher palindrome of a given number.
123 -> 131 1232 -> 1331

Skills: data structure, Algorithm
College Name: NA

Skills evaluated in this interview

Software Developer Interview Questions Asked at Other Companies

asked in Amazon
Q1. Maximum Subarray Sum Problem Statement Given an array of integers ... read more
asked in Amazon
Q2. Minimum Number of Platforms Needed Problem Statement You are give ... read more
asked in Rakuten
Q3. Merge Two Sorted Arrays Problem Statement Given two sorted intege ... read more
asked in Cognizant
Q4. Nth Fibonacci Number Problem Statement Calculate the Nth term in ... read more
Q5. Validate Binary Tree Nodes Problem You are provided with 'N' bina ... read more

Software Developer Interview Questions & Answers

user image RohithKumar Kesa

posted on 25 Aug 2015

I applied via Campus Placement

Interview Preparation Tips

Round: Test
Experience: It was a good one but both questions would have been easy if we know more libraries in java
Tips: Both the questions were related to bigint. It could have been better if both questions were from different areas
Duration: 90 minutes

Round: Technical Interview
Experience: I felt my interview went fine since i was able to answer most of their questions.They gave many hints even if i didn't get the right one
Tips: Everything was fine

Round: HR Interview
Experience: I was able to see myself how i responded to questions asked regarding me and sometimes i was just blabbering
Tips: nothing

General Tips: One must be good at datastrucures and algorithms
Skill Tips: nothing
Skills: Datastructures and Algorithms
Duration: 2
College Name: IIT Madras
Motivation: I wanted to do something for the company where I ordered many of my things
Funny Moments: No funny moments as such but I enjoyed talking to the hr interviewer

Software Developer Interview Questions & Answers

user image RAJIVTEJA NAGIPOGU

posted on 25 Aug 2015

I applied via Campus Placement

Interview Preparation Tips

Round: Test
Experience: The test started very late due to some technical issues and space issues. So , It helped us to be far more relaxed.
Duration: 11/2 hr minutes
Total Questions: 2

Round: Technical Interview
Experience: The Overall Technical Interview was a mixture of innovation and apprehension and it really helped me to get my strengths and weaknesses out. The questions outsmarted me at the beginning, Later I did.

Round: HR Interview
Experience: HR was very friendly. He asked about my strengths and weaknesses. And then we continued talking about the nature of work and sincerity and technicality expected from my side, while taking a stroll in cool night air.

Skills: Algorithms and DataStructures
Duration: 2 months
College Name: IIT Madras
Motivation: The work specification

Flipkart interview questions for designations

 Software Developer Intern

 (6)

 Software Developer II

 (3)

 Senior Software Developer

 (1)

 Software Engineer

 (9)

 UI Developer

 (4)

 Application Developer

 (1)

 SQL Developer

 (1)

 Backend Developer

 (1)

Software Developer Interview Questions & Answers

user image Kshitij Tomar

posted on 25 Aug 2015

I applied via Campus Placement

Interview Questionnaire 

2 Questions

  • Q1. First question was about a robot and tracking his movements.Given a string of moves a robot makes check if he ends up at the location he starts from?
  • Q2. Given a list of stars and their distances from the earth.Find an efficient solution to find the k closest stars to earth?
  • Ans. 

    Efficient solution to find k closest stars to earth from a list of stars and their distances.

    • Use a priority queue to store the distances of stars from earth.

    • Iterate through the list of stars and add their distances to the priority queue.

    • Pop k elements from the priority queue to get the k closest stars to earth.

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: The online coding test is not that difficult. The questions are very easy. Only thing is that you have to come up with an efficient solution.The naive solutions are fairly obvious.
Tips: Practice some algorithms questions.
Duration: 90 minutes
Total Questions: 2

Round: Technical Interview
Experience: First question was very simple. I was asked for the solution first and then to write the code on paper and show it to him.Second question requires more time to think.
Tips: A good knowledge of data structures and algorithms will help you clear the interview with ease.

Round: HR Interview
Experience: The guy asking questions makes you feel relaxed. He will give you a feedback about the test and the questions asked in the test. I appreciated the feedback. He pointed out things i could have done better.
Tips: The HR interview is relatively easy. Its just a chat about you and your interests and some other questions like "why should I hire you?".

General Tips: A good knowledge of Data structures and Algorithms will help clear the interview and the test.
Skill Tips: Practice Data structures and Algorithms questions.
Skills: Data structures and Algorithms, Coming up with efficient solutions
Duration: 2
College Name: IIT Madras
Motivation: I wanted to apply for Flipkart as I have seen its meteoric rise in the past few years. It has transformed the wasy people shop in India.

Skills evaluated in this interview

Get interview-ready with Top Flipkart Interview Questions

Flipkart Interview FAQs

How many rounds are there in Flipkart Software Developer interview?
Flipkart interview process usually has 1-2 rounds. The most common rounds in the Flipkart interview process are Coding Test, Technical and HR.
How to prepare for Flipkart Software Developer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Flipkart. The most common topics and skills that interviewers at Flipkart expect are Algorithms, Data Structures, Microservices and System Design.
What are the top questions asked in Flipkart Software Developer interview?

Some of the top questions asked at the Flipkart Software Developer interview -

  1. Modify this code to find the maximum subtree in tree which is a BST. Maximum su...read more
  2. There is code like var i; { .. var j; .. } var k; .. var a; { .. var c; { var i...read more
  3. Input : 4 jars and 50 balls of different colors (Red, Green, Yellow, Blue) wher...read more
How long is the Flipkart Software Developer interview process?

The duration of Flipkart Software Developer interview process can vary, but typically it takes about less than 2 weeks to complete.

Tell us how to improve this page.

Flipkart Software Developer Interview Process

based on 15 interviews

4 Interview rounds

  • Coding Test Round
  • Video Call Round
  • HR Round
  • Aptitude Test Round
View more
Flipkart Software Developer Salary
based on 205 salaries
₹10.8 L/yr - ₹40 L/yr
188% more than the average Software Developer Salary in India
View more details

Flipkart Software Developer Reviews and Ratings

based on 30 reviews

3.4/5

Rating in categories

3.4

Skill development

3.5

Work-life balance

3.1

Salary

3.6

Job security

3.3

Company culture

2.8

Promotions

3.2

Work satisfaction

Explore 30 Reviews and Ratings
Senior Executive
2.8k salaries
unlock blur

₹2 L/yr - ₹9 L/yr

Team Lead
1.8k salaries
unlock blur

₹1.2 L/yr - ₹10 L/yr

Operations Executive
1.8k salaries
unlock blur

₹1.2 L/yr - ₹6.3 L/yr

Assistant Manager
1.6k salaries
unlock blur

₹6 L/yr - ₹21 L/yr

Data Entry Operator
1.5k salaries
unlock blur

₹0.6 L/yr - ₹4 L/yr

Explore more salaries
Compare Flipkart with

Amazon

4.0
Compare

Myntra

4.0
Compare

Snapdeal

3.8
Compare

Meesho

3.7
Compare
Did you find this page helpful?
Yes No
write
Share an Interview