i
Flipkart
Proud winner of ABECA 2025 - AmbitionBox Employee Choice Awards
Filter interviews by
The 3 Sum problem involves finding triplets in an array that sum to zero.
Sort the array to simplify finding triplets.
Use a loop to fix one element and apply two-pointer technique for the rest.
Skip duplicates to avoid repeated triplets in the result.
Example: For array [-1, 0, 1, 2, -1, -4], the triplets are [-1, -1, 2], [-1, 0, 1].
Use a two-pass approach to mark rows and columns with zeros based on existing zeros in the matrix.
Iterate through the matrix to mark rows and columns with zeros based on existing zeros
Use two arrays to keep track of which rows and columns need to be zeroed out
Perform a second pass to update the matrix based on the marked rows and columns
A parking lot app designed for blind people to easily navigate and find available parking spots.
Include voice-guided navigation to direct users to available parking spots
Use sensors to detect empty parking spaces and relay information to the app
Provide audio alerts for obstacles or other vehicles in the parking lot
Include a feature for users to easily locate their parked vehicle when returning
A parking lot app to help users find available parking spots and pay for parking.
Include a map feature to show available parking spots in real-time
Allow users to reserve parking spots in advance
Integrate payment options for users to pay for parking
Provide notifications for parking expiration or availability of nearby spots
What people are saying about Flipkart
You are provided with a string STR
of length N
. The goal is to identify the longest palindromic substring within this string. In cases where multiple palindr...
Given a string, find the longest palindromic substring with the smallest start index.
Iterate through the string and expand around each character to find palindromes
Keep track of the longest palindrome found and its starting index
Return the longest palindromic substring with the smallest start index
Given a binary tree where each node can carry a camera that monitors its parent, itself, and its immediate children, determine the minimum number of cameras needed to ...
The problem involves determining the minimum number of cameras needed to monitor all nodes in a binary tree.
Implement a function to solve the problem efficiently.
Consider the different cases where cameras can be placed to cover all nodes.
Use recursion to traverse the tree and place cameras strategically.
Optimize the solution to minimize the number of cameras needed.
Test the function with different test cases to en...
Given a string STR
consisting only of lowercase letters, your task is to modify the string by replacing the minimum characters such that the string doesn’t cont...
The task is to modify a string by replacing minimum characters to remove all palindromic substrings.
Identify palindromic substrings in the given string
Replace characters in the substrings to break the palindrome
Count the minimum number of characters replaced to remove all palindromic substrings
Given an infinite supply of coins of varying denominations, determine the total number of ways to make change for a specified value using these coins. If it's not possible to make ...
The task is to find the total number of ways to make change for a specified value using given denominations.
Use dynamic programming to solve this problem efficiently.
Create a 2D array to store the number of ways to make change for each value up to the specified value.
Iterate through each denomination and update the array accordingly.
The final answer will be stored in the last cell of the array.
Example: For N=3, D=...
Given an array/list of integers ARR
consisting of N
integers, your task is to determine the length of the longest decreasing subsequence.
A s...
Find the length of the longest decreasing subsequence in an array of integers.
Use dynamic programming to keep track of the length of the longest decreasing subsequence ending at each index.
Initialize an array to store the length of the longest decreasing subsequence for each element.
Iterate through the array and update the length of the longest decreasing subsequence for each element based on previous elements.
Ret...
Given a square chessboard of size 'N x N', determine the minimum number of moves a Knight requires to reach a specified target position from its initial position.
...Calculate minimum steps for a Knight to reach target position on a chessboard.
Use BFS algorithm to find shortest path from Knight's starting position to target position.
Consider all possible moves of the Knight on the chessboard.
Keep track of visited positions to avoid revisiting them.
Return the minimum number of moves required to reach the target position.
I appeared for an interview in Oct 2024, where I was asked the following questions.
The 3 Sum problem involves finding triplets in an array that sum to zero.
Sort the array to simplify finding triplets.
Use a loop to fix one element and apply two-pointer technique for the rest.
Skip duplicates to avoid repeated triplets in the result.
Example: For array [-1, 0, 1, 2, -1, -4], the triplets are [-1, -1, 2], [-1, 0, 1].
A parking lot app to help users find available parking spots and pay for parking.
Include a map feature to show available parking spots in real-time
Allow users to reserve parking spots in advance
Integrate payment options for users to pay for parking
Provide notifications for parking expiration or availability of nearby spots
A parking lot app designed for blind people to easily navigate and find available parking spots.
Include voice-guided navigation to direct users to available parking spots
Use sensors to detect empty parking spaces and relay information to the app
Provide audio alerts for obstacles or other vehicles in the parking lot
Include a feature for users to easily locate their parked vehicle when returning
I applied via Unstop and was interviewed in Dec 2023. There were 2 interview rounds.
Use a two-pass approach to mark rows and columns with zeros based on existing zeros in the matrix.
Iterate through the matrix to mark rows and columns with zeros based on existing zeros
Use two arrays to keep track of which rows and columns need to be zeroed out
Perform a second pass to update the matrix based on the marked rows and columns
Similar to Round 1 but more hard questions
3 coding questions were asked of moderate difficulty level
I appeared for an interview in Oct 2020.
Round duration - 75 minutes
Round difficulty - Hard
Round was scheduled in the evening within a window of two hours.
Given a singly linked list of integers, return the head of the reversed linked list.
Initial linked list: 1 -> 2 -> 3 -> 4 -> NULL
Reversed link...
Reverse a singly linked list of integers and return the head of the reversed linked list.
Iterate through the linked list and reverse the pointers to point to the previous node instead of the next node.
Use three pointers to keep track of the current, previous, and next nodes while reversing the linked list.
Update the head of the reversed linked list as the last node encountered during the reversal process.
Given a square chessboard of size 'N x N', determine the minimum number of moves a Knight requires to reach a specified target position from its initial position...
Calculate minimum steps for a Knight to reach target position on a chessboard.
Use BFS algorithm to find shortest path from Knight's starting position to target position.
Consider all possible moves of the Knight on the chessboard.
Keep track of visited positions to avoid revisiting them.
Return the minimum number of moves required to reach the target position.
Tip 1 : Your basics should be very clear about data structures and algorithms.
Tip 2 : Try to solve questions in a specific time frame. Also dry run your code with custom test cases, try to find the edge cases.
Apart from this try analyzing the time and space complexity of your solution.
Tip 3 : Take a look at editorials after solving the questions as it can give you a better approach to the problem.
Tip 4 : Don't neglect subjects like OOP's, DBMS and OS. Interviews ask few questions from here as well.
Tip 1 : not too short or too long
Tip 2 : scale up the basic technologies in resume
I appeared for an interview in Sep 2020.
Round duration - 65 minutes
Round difficulty - Medium
This online assessment comprised of 12 questions with 2 coding questions and 10 MCQs.
Coding Questions:
It was one of the most common Dynamic Programming problems: Longest decreasing sub-sequence.
It was an easy question that needed us to find out the mean, median and mode in an array.
Given an array/list of integers ARR
consisting of N
integers, your task is to determine the length of the longest decreasing subsequence.
A ...
Find the length of the longest decreasing subsequence in an array of integers.
Use dynamic programming to keep track of the length of the longest decreasing subsequence ending at each index.
Initialize an array to store the length of the longest decreasing subsequence for each element.
Iterate through the array and update the length of the longest decreasing subsequence for each element based on previous elements.
Return t...
Given a string STR
consisting only of lowercase letters, your task is to modify the string by replacing the minimum characters such that the string doesn’t con...
The task is to modify a string by replacing minimum characters to remove all palindromic substrings.
Identify palindromic substrings in the given string
Replace characters in the substrings to break the palindrome
Count the minimum number of characters replaced to remove all palindromic substrings
Round duration - 45 minutes
Round difficulty - Medium
There was only one interviewer, I was asked one coding question followed by one puzzle.
Given an infinite supply of coins of varying denominations, determine the total number of ways to make change for a specified value using these coins. If it's not possible to make...
The task is to find the total number of ways to make change for a specified value using given denominations.
Use dynamic programming to solve this problem efficiently.
Create a 2D array to store the number of ways to make change for each value up to the specified value.
Iterate through each denomination and update the array accordingly.
The final answer will be stored in the last cell of the array.
Example: For N=3, D=[1, 2...
Tip 1 : Regular practice
Tip 2 : Good command over DSA
Tip 3 : Good communication skills are also important
Tip 1 : Should be short and descriptive
Tip 2 : Team projects are helpful
I appeared for an interview before Jan 2021.
Round duration - 60 minutes
Round difficulty - Hard
This round was held on Hackerearth and had 2 questions of Medium-Hard difficulty. Both were based on concepts of DP.
The use of offline IDE was prohibited so we were supposed to code it on Hackerearth IDE itself. I was able to code the second problem well with only 3 Test Cases failing but was stuck on the first problem for quite a long time and wasn't able to pass all the major Test Cases .
Given a binary tree where each node can carry a camera that monitors its parent, itself, and its immediate children, determine the minimum number of cameras needed to...
The problem involves determining the minimum number of cameras needed to monitor all nodes in a binary tree.
Implement a function to solve the problem efficiently.
Consider the different cases where cameras can be placed to cover all nodes.
Use recursion to traverse the tree and place cameras strategically.
Optimize the solution to minimize the number of cameras needed.
Test the function with different test cases to ensure ...
You are provided with a string STR
of length N
. The goal is to identify the longest palindromic substring within this string. In cases where multiple palind...
Given a string, find the longest palindromic substring with the smallest start index.
Iterate through the string and expand around each character to find palindromes
Keep track of the longest palindrome found and its starting index
Return the longest palindromic substring with the smallest start index
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
I appeared for an interview before Sep 2020.
Round duration - 90 minutes
Round difficulty - Easy
This round was held during university hours and consisted of 2 coding questions.
Round duration - 120 minutes
Round difficulty - Easy
Make sure you do no cutting and are clear about the approach you'd be following.
Running median of an input stream is the median value of the numbers seen so far in a continuous stream of data.
Maintain two heaps - a max heap for the lower half of the numbers and a min heap for the upper half.
Keep the number of elements in the two heaps balanced or differ by at most 1.
If the total number of elements is odd, the median is the root of the max heap. If even, it is the average of the roots of the two he...
Prepare for company-wise interview questions according to the company in which you are applying. Try to write the code yourself and if got stuck in between then take help from the internet. I recommend you Codezen of Coding Ninjas for practicing Data Structures and Algorithms based questions.
Application resume tips for other job seekersBe sure 100% of what you write in your resume and prepare for that before the interview what is written on resume.
Final outcome of the interviewSelectedI appeared for an interview before Dec 2015.
I am excited to join the company because of its reputation for innovation and commitment to employee growth.
I am impressed by the company's track record of developing cutting-edge software solutions.
I appreciate the company's focus on fostering a culture of learning and development.
I am excited about the opportunity to work with a talented team of developers and contribute to the company's success.
I believe that the co...
based on 5 interview experiences
Difficulty level
Duration
based on 2 reviews
Rating in categories
Senior Executive
2.7k
salaries
| ₹4 L/yr - ₹9.1 L/yr |
Operations Executive
1.9k
salaries
| ₹2.2 L/yr - ₹6.3 L/yr |
Assistant Manager
1.8k
salaries
| ₹10 L/yr - ₹18 L/yr |
Team Lead
1.6k
salaries
| ₹3.6 L/yr - ₹8.2 L/yr |
Data Entry Operator
1.4k
salaries
| ₹1.2 L/yr - ₹3.5 L/yr |
Amazon
Myntra
Snapdeal
Meesho