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 2025 - AmbitionBox Employee Choice Awards

zig zag pattern zig zag pattern

Filter interviews by

Flipkart Software Developer Interview Questions and Answers

Updated 23 May 2025

83 Interview questions

A Software Developer was asked 10mo ago
Q. Implement Depth First Search (DFS) traversal on a simple graph.
Ans. 

Depth-First Search (DFS) is a graph traversal algorithm that explores as far as possible along each branch before backtracking.

  • DFS uses a stack data structure, either explicitly or via recursion.

  • It starts from a source node and explores as far as possible along each branch.

  • Example: In a graph with nodes A, B, C, and edges (A-B, A-C), starting DFS from A visits B then C.

  • DFS can be used to find connected components ...

A Software Developer was asked 10mo ago
Q. Given the root of a binary search tree (BST) and an integer k, return the kth largest value (1-indexed) of all the values in the tree.
Ans. 

Find the Kth largest element in a Binary Search Tree.

  • Perform reverse inorder traversal to visit nodes in descending order.

  • Keep track of the count of visited nodes to find the Kth largest element.

  • Stop traversal once the Kth largest element is found.

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 Rakuten
Q2. Merge Two Sorted Arrays Problem Statement Given two sorted intege ... read more
asked in Amazon
Q3. Minimum Number of Platforms Needed Problem Statement You are give ... read more
asked in Cognizant
Q4. Nth Fibonacci Number Problem Statement Calculate the Nth term in ... read more
asked in PhonePe
Q5. Form a Triangle Problem Statement You are given an array of integ ... read more
A Software Developer was asked
Q. Describe a time you used topological sort to find the order of nodes in a graph.
Ans. 

Topological sort orders nodes in a directed acyclic graph (DAG) based on dependencies.

  • Topological sort is used for scheduling tasks based on dependencies.

  • It can be implemented using Depth-First Search (DFS) or Kahn's algorithm.

  • Example: For tasks A -> B -> C, the order can be A, B, C.

  • A graph must be a Directed Acyclic Graph (DAG) for topological sorting to be possible.

  • The result is not unique; multiple valid ...

A Software Developer was asked
Q. How do you reverse a doubly linked list?
Ans. 

To reverse a doubly linked list, swap the next and previous pointers of each node.

  • Start from the head of the list

  • Swap the next and previous pointers of each node

  • Update the head and tail pointers accordingly

What people are saying about Flipkart

View All
buddybean
Verified Icon
2w
works at
Flipkart
Need Guidance 🙏🏼
Hi all, I’m looking for advice on how to progress in my career. Here’s a quick snapshot: 📌 Profile: • 🎓 Education: B.Tech + PGDM (Business Analytics) • 💼 Experience: ~9 years in Supply Chain (currently at Flipkart) • 🧩 Key Skills: Inventory planning, vendor management, warehousing, tech adoption, e-commerce ops • 💰 CTC: ~12 LPA 🎯 Career Goals: • Move into strategic/leadership roles in supply chain or transition into supply chain analytics, consulting, or product roles • Target CTC: 20–25 LPA in next 12–18 months ❓Need Advice On: • Best courses/certifications to upskill (open to Coursera, IIMs, ISB, global options) • Target companies/roles that fit my profile • Is a shift to consulting/product management/supply chain analytics worth exploring? Would love inputs from anyone who’s made a similar transition or working in these domains. Appreciate your help! 🙏
Got a question about Flipkart?
Ask anonymously on communities.
A Software Developer was asked
Q. 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.

A Software Developer was asked
Q. Modify this code to find the maximum subtree in a tree that is a BST. The maximum subtree means the subtree goes up to its leaves from any node. Modify the code again to find the maximum tree that is a BST....
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

A Software Developer was asked
Q. Implement a function to find the next lexicographically greater permutation of a given sequence, similar to the next_permutation function 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

Are these interview questions helpful?
A Software Developer was asked
Q. Given n sequences, each with a start point, stop point, and score, find the maximum subset of non-overlapping sequences with the maximum total sum of scores. All scores are positive.
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.

A Software Developer was asked
Q. Given code with variable declarations like 'var i; { .. var j; .. } var k; .. var a; { .. var c; { var i; } .. var d; .. }', assuming only one variable declaration per line, how would you determine which va...
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

A Software Developer was asked
Q. Implement an LRU cache. Write code to support the following operations: put(key, value), get(key), and 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.

Flipkart Software Developer Interview Experiences

36 interviews found

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Referral and was interviewed in Oct 2024. There were 2 interview rounds.

Round 1 - Technical 

(3 Questions)

  • Q1. MC question on desing pattern
  • Q2. Graph question, tree and hash
  • Q3. Design Book my show
Round 2 - Coding Test 

Dp question of jump game

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

I was asked to design a stack where push and pop operations are done at every version in O(1)

Software Developer Interview Questions & Answers

user image Balaji Alluru

posted on 21 Oct 2024

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I appeared for an interview in Sep 2024.

Round 1 - Coding Test 

A coding question on qraphs

Round 2 - Technical 

(1 Question)

  • Q1. Questions on distributed transactions
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

(1 Question)

  • Q1. Design airline service.
  • Ans. 

    Design an airline service for booking flights and managing reservations.

    • Create a user-friendly website or mobile app for customers to search and book flights.

    • Implement a secure payment system for online bookings.

    • Develop a system for managing flight schedules, seat availability, and reservations.

    • Include features for customers to check-in online, select seats, and view flight status.

    • Offer loyalty programs and discounts f...

  • Answered by AI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Dsa was asked, focus on Binary Search

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
-

I applied via Company Website and was interviewed in Mar 2024. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. Was asked a question where i had to find the order of nodes in the graph, which can be done with topological sort.

Interview Preparation Tips

Interview preparation tips for other job seekers - convey your thought process.
Interview experience
3
Average
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Jan 2024. There were 2 interview rounds.

Round 1 - Aptitude Test 

Cleared this round. It was easy

Round 2 - Technical 

(1 Question)

  • Q1. -> How to reverse a doubly linked list?
  • Ans. 

    To reverse a doubly linked list, swap the next and previous pointers of each node.

    • Start from the head of the list

    • Swap the next and previous pointers of each node

    • Update the head and tail pointers accordingly

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - No

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
No response

I applied via Company Website and was interviewed in Jan 2024. There were 3 interview rounds.

Round 1 - Coding Test 

Programming language

Round 2 - Aptitude Test 

Arithematic logic questions

Round 3 - Group Discussion 

Programming topic any one topic

Interview Preparation Tips

Topics to prepare for Flipkart Software Developer interview:
  • SQL Coding
  • HTML
  • CSS
Interview preparation tips for other job seekers - Java topic
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Hard problems, with limited time

Round 2 - Technical 

(1 Question)

  • Q1. One lc medium and one lc hard
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Campus Placement and was interviewed before Nov 2023. There were 3 interview rounds.

Round 1 - Coding Test 

It was a typical coding assessment with 3 questions, Med to hard level questions.

Round 2 - Technical 

(2 Questions)

  • Q1. Medium leetcode stack problem
  • Q2. Standard dp problem
Round 3 - Technical 

(2 Questions)

  • Q1. A medium to hard level Tree problem
  • Ans. 

    Implement a tree data structure and perform a medium to hard level operation on it.

    • Create a Node class with left and right pointers

    • Implement methods for insertion, deletion, and traversal

    • Solve a specific problem like finding the lowest common ancestor

  • Answered by AI
  • Q2. 2 pointer problem
  • Ans. 

    The two-pointer technique is an efficient algorithmic approach for solving problems involving arrays or linked lists.

    • Used to find pairs in a sorted array, e.g., finding two numbers that sum to a target.

    • Can be applied to reverse a string or array in place.

    • Effective for merging two sorted arrays into one sorted array.

    • Useful in problems like 'Container With Most Water' to maximize area.

    • Can help in detecting cycles in link...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Flipkart asks only DSA, where the questions will be medium to hard level.

Skills evaluated in this interview

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
What are the most common questions asked in Flipkart Software Developer HR round?

The most common HR questions asked in Flipkart Software Developer interview are -

  1. Why are you looking for a chan...read more
  2. What are your strengths and weakness...read more
  3. Share details of your previous j...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.

Overall Interview Experience Rating

4.3/5

based on 16 interview experiences

Difficulty level

Easy 27%
Moderate 73%

Duration

Less than 2 weeks 91%
2-4 weeks 9%
View more
Flipkart Software Developer Salary
based on 335 salaries
₹18 L/yr - ₹32 L/yr
140% 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.5

Job security

3.3

Company culture

2.8

Promotions

3.2

Work satisfaction

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

₹4 L/yr - ₹9.1 L/yr

Team Lead
2.1k salaries
unlock blur

₹3.5 L/yr - ₹8 L/yr

Operations Executive
1.9k salaries
unlock blur

₹2.2 L/yr - ₹6.3 L/yr

Assistant Manager
1.8k salaries
unlock blur

₹10 L/yr - ₹18 L/yr

Data Entry Operator
1.4k salaries
unlock blur

₹1.2 L/yr - ₹3.5 L/yr

Explore more salaries
Compare Flipkart with

Amazon

4.0
Compare

Myntra

3.9
Compare

Snapdeal

3.8
Compare

Meesho

3.7
Compare
write
Share an Interview