Here in this post, we discuss some Flipkart Interview Experience,important Flipkart interview questions. Here in this posts we cover Flipkart SDE Interview Questions,Flipkart leetcode Questions , Flipkart Frequently asked Interview Question 2022, and also we give details/guidance so that you can crack Flipkart SDE Interview .
Before going for any Interview, you need to go through the company details and some of company’s facts and figures. Here we give you a brief about the company, and you can Visit Flipkart careers page for more details.
ABOUT FLIPKART
Flipkart is committed to transforming commerce in India through investments in made-in-India technology innovations, customer-centric constructs, a diverse category landscape and a world-class supply chain. With a customer base of over 350 million, product coverage of over 150 million across 80+ categories, a focus on generating direct and indirect employment and a commitment to empowering generations of entrepreneurs and MSMEs, all driven by a sustainable growth strategy – Flipkart is maximising for customers, stakeholders, and the planet at large!
Round 1 of FLIPKART INTERVIEW : Machine Coding
Design an online book reader system like Kindle. Below are the fuctional requirements to be implemented:
The users can register and issue books of the library.
There are n different books available in the library and each book having a certain number of copies.
A registered user can borrow a book from the library and rate it.
A user can hold upto 2 books at a time.
One user can not hold two copies of the same book together.
A user can check the last page reading, along with next page and previous page.
One can not start reading next book before completing the previous one.
Also one can not rate the book before ffinishing it.
A user can view his/her current details along with the book history borrowed by him/her.
A user can check the list of available books.
Every book has avg rating of the users.
Only one user can login at a time.
There were some bonus parts also, but first focus on completing the functional requirement.
Round 2 of FLIPKART INTERVIEW : Problem Solving/Data Structure
There were 2 interviewers and had to solve atleast 2 questions in 1 hour. Q1: Given an integer n, return the least number of perfect square numbers that sum to n.
I was able to solve it recursively, but after some hints and discussion with interview, I was asked to come up with dp approach. Q2. For two strings s and t, we say “t divides s” if and only if s = t + … + t (t concatenated with itself 1 or more times)
Given two strings str1 and str2, return the largest string x such that x divides both str1 and str2.
Input: str1 = “ABCABC”, str2 = “ABC”
Output: “ABC”
Came up with approach, but couldn’t code due to less time left.
Tip: Since they have tested your coding skills in previous round, they mostly check you approach in this round, thinking process and knowledge of DS/Algo.
Round 3 of FLIPKART INTERVIEW : Hiring Manager
Explanation about the current company and how things work in your current company.
FLIPKART SDE 1 INTERVIEW QUESTIONS / FLIPKART SD1 INTERVIEW PROCESS
Round 1(FLIPKART Machine Round): This round is basically for checking the oops concept and language. They want to check whether you can able to write code in a modular pattern.
I have to design a bowling alley, they will provide you with all the details regarding the problem like what will be the rules of this problem. In this case, there is a strike and spares. We have to calculate the score concerning how many pins are down and also have to add a bonus score whether it is strike or spares.
Evaluation criteria
Demo-able code
Functional correctness
Code readability
Usage of design patterns, where applicable
Language proficiency
The code should be parameterized rather than hardcoded.
Testing
Exception
ound 2(DS Algo round): This round start with the intro and the interviewer already told me that he will ask two questions and I have to give the answers within 1 hour
https://leetcode.com/problems/car-pooling/
Note:- Approach for this type of question is to starts with the naive/brute force approach and then after that optimize that.
Round 3(Manager Interview):
Explanation about the current company and draw the architectural diagram of how things work in your current company.
Round 1 – Machine Coding
I was briefed about a project, which had to do with Covid Vaccination Management kind of system.
I was expected to design and code the solution with the APIs they had mentioned, taking into consideration all the features. It was a pretty lengthy problem statement, which required handling concurrent requests, starvation and a lot more.
I was expected to write the complete solution in 150 mins while presenting my screen and the session was being recorded.
There were no restrictions as such on the language (I had chosen Java), but they were looking for good demoable code, while checking OOPS concepts, designing.
After 150 mins, I had to present/explain my code to panelists and zip and share the same with them. They also asked questions around it.
Round 2 – PS/DS
In this round, they had shared a google doc with me for writing the code. They had asked a difficult question (at least for me) which was something like – “Minimum time required to propagate the information from root to all child nodes of n-ary tree where in one path, the information can only be propagated at one level and other levels will need to wait”. I was not able to write the complete code, but was able to explain my approach and was able to write the code for main logic. Approx time: 90 mins
Round 3 – Design
In this round, I was grilled a lot on Rate limiting as I had mentioned that on my resume. They asked me to design a rate limiter with and without redis cache (both HLD and LLD). Optimize my approach. I was also asked to write the logic for working of sliding window rate limiter. This round lasted for over 90 mins.
Round 4 – HM
This round was majorly around my resume. The projects that I had worked on. My strengths and weaknesses. Again some discussions around rate limiter, making it configurable, other approaches to have rate limiter like behaviour. Reason for switching. My expectations from the role. Few scenario based questions like conflict with manager, team member. This round lasted for little over 75 mins.
4 days after this, I received a call from staffing agency that they have got the news that I have been shortlisted. The same was confirmed by Flipkart recruiter after another 2 days.
I hope this helps someone to prepare well.
EXCERPTS
FROM STUDENT 4
Flipkart Interview Experience for Data Engineering-I
Round 1(Machine Coding): From the machine coding round, about 15 candidates were shortlisted for the interview process which was held in the next week.
We were given a use case document which was explained point by point by the interviewer. There were few JSON files and using those we have to provide a complete solution for the following queries or insights to be extracted from the source data.
The language, framework everything was up to us to decide. (I used spark)
We were given two hours to solve this problem and provide our submission as a zip file.
The submission should pass all the coding standards and strive to generalise it as much as possible.
After this there were individual sessions where we had to explain our code and decision we took while solving the use case. I explained the reasons for choosing the spark framework and supported it will my fundamentals.
Round 2(Problem Solving):
Firstly I was asked to brief myself a little and how I developed my interest for this role.
Then I was provided with a live coding link where I had access to a shared text file.
The first question was a simple one to find the Nth highest element from an array. I provided a solution using heap in O(N). Link
Then was a question on linked list for finding the next greatest element followed by a question on tree to find the Lowest Common Ancestor in a Binary Tree. For this I was not confident with the solution I provided and my approach was not 100% correct so he helped me with the correct approach.
I was quite confident after this round that I will be getting shortlisted. By end of day, I received the call and got notified that my 3rd round has been scheduled for the next day.
Round 3(Tech Round): This round is about the projects you have done in past and the technologies you are associated with.
After some questions about my previous role, the interviewer thoroughly asked about my projects and went in-depth. I was actually very much interested in this conversation because for the first time one was truly interested in the concepts I excel in.
After some generic questions about the why and how of the components and infra about the projects I mentioned in my resume we moved on the next questions.
I was asked to design a financial database system where we discussed how to create the database models and schema, partition keys, fields, and the method to optimise the queries to be run against the database.
For this step by step I built the models, tables providing appropriate justifications. My interviewer was happy with the solution and got the feedback (Quite close).
Round 4(Managerial Round):
This is more of a discussion round, where hiring manager will explain to you the role you will be into and run you through their expectations if they are in sync. One can expect questions regarding the reasons for your job change, etc.
Few behavioral questions based on their leadership principles were also asked.
The very same day I got the confirmation from HR, I was ecstatic to find got that I was offered the DE role in Flipkart. The feeling was immense and irreplaceable.
4.Given ‘n’ undirected weighted graph, find the sum of the weights of the minimal spanning tree for each graph and return the kth largest sum among them.
5.Given a tree as an undirected graph, calculate the sum of nodes of each level and return the maximum among those (apply BFS – level order traversal).
6.Given ‘n’ undirected weighted graph, find the sum of the weights of the minimal spanning tree for each graph and return the kth largest sum among them.
7.All pairs shortest path (Floyd-Warshall).
8.Given a string “drawstring” and an array of strings “coupons”, we needed to find how many coupons match as a substring with the drawstring with a tolerance of ‘k’ characters. Also, there were few operations that could be done on the coupon strings to form a match including changing ‘a’ to ‘o’ , ‘t’ to ‘l’ and vice versa, and also delete any one character in the coupon string
10.Given an array of cell values. You are given q queries where in each query you are provided left,right position and the value you should remove(r). So you should remove r from each cell value from left to right.If cell value becomes less than r then you should remove what ever that is available i.e make the cell value at that location zero. Now after q queries return the cells whose values are zero.
11.Construct a tree .To construct a tree/graph you are given the nodes which forms the edges(node1 and node2) and the amount of data that can be transferred from the node1 to node2.You are also given the root.The number of edges are n-1. Find the maximum data that can transferred from root
12. Simple tree traversal problem. Each node has a value associated with it. You have to find the level whose nodes’ values have maximum sum.
13. Expression evaluation problem. Given an expression as string, evaluate the expression using BODMAS and without BODMAS. Only ‘+’, ‘-’ and ‘*’ operators were allowed in the expression. (Note that without using BODMAS you will get several answers and you will have to find all answers)
Understand your concepts and fundamentals well and lay emphasis on the logic rather than result.
Understand your code well and explore different DS for providing an efficient solution.
Flipkart interviews are interactive, not interrogative. So take a pause before answering, and always justify your approach.
Take a smarter approach and keep yourself determined and focused. If I can, anyone can. Whenever required take a break and make sure you do not get stressed out. You should at least deliver what you know at its best. I am sure you all will do great. All the best.
FAQS RELATED TO FLIPKART INTERVIEW
How many interview rounds are there in Flipkart?
Ans: FLIPKART Interview PROCESS has mainly THREE ROUNDS(SDE)
Machine Coding
Problem Solving/Data Structure
Hiring Manager
What is the salary in Flipkart?
Ans: Flipkart Sde1 salary in India is ₹ 21.3 Lakhs for employees with less than 1 year of experience. SDE2 salary for FLIPKART I can range from ₹12,30,439 – ₹36,36,426 per year.
How can I get job in Flipkart?
Ans:Check their careers page for any openings and look for referrals in linkedin and for preparing tips (SDE)
Understand your concepts and fundamentals well and lay emphasis on the logic rather than result.
Understand your code well and explore different DS for providing an efficient solution.
Flipkart interviews are interactive, not interrogative. So take a pause before answering, and always justify your approach.
Take a smarter approach and keep yourself determined and focused. If I can, anyone can. Whenever required take a break and make sure you do not get stressed out. You should at least deliver what you know at its best. I am sure you all will do great. All the best.
SUMMARY ON FLIPKART INTERVIEW QUESTIONS POST
Here in this post we tried to cover all the topics related to FLIPKART INTERVIEW QUESTIONS , hope this will help for your next FLIPKART INTERVIEW .Thanks and all the best!!!