Flipkart Interview Experience | SDE2 | Bengaluru | May2024 [Reject] (original) (raw)
Last Updated : 17 Jun, 2024
Role: SDE-2
I applied through the Company portal, and the recruiter then reached out to me in a week or so.
**Round 1: Machine Coding Round [2 hours]
Design Commission App
The Commission App handles affiliate commissions for Flipkart orders. Affiliates earn commissions based on category-specific rules when orders are placed via their shared links. Commissions are calculated at order creation but paid out only when orders reach the RETURN_PERIOD_EXPIRED state, ensuring they are not canceled or returned. Payments are triggered once the total pending commission exceeds Rs. 100. Affiliates can query their transactions and order states, with the system designed to be modular and handle edge cases effectively.
The following API methods were to be implemented:
processOrder: Handles order events.
- processOrder(“order1”, 600.0, “pid1”, “Mobile”, “affiliate1”, “2024-04-06 18:00:00”, CREATED)
- processOrder(“order1”, DISPATCHED)
- processOrder(“order1”, DELIVERED)
- processOrder(“order1”, RETURN_PERIOD_EXPIRED)
fetchTransaction: fetches transactions for an affiliate.
- fetchTransaction(“affiliate1”)
getOrders: fetches orders by state and affiliate ID.
- getOrders(“affiliate1”, RETURN_PERIOD_EXPIRED)
A number of people were included in a call to explain the requirements. After that, each of us joined indubitable codes for coding. I was given 90 minutes for coding and then 30 minutes to explain and demo the application to a different interviewer.
The recruiter reached out to me two days later, saying that I had cleared the round and that the that the next would be a DSA round.
**Round-2: DSA round [1 hour]
In this round, I was asked two coding questions. The interviewer was super chill. We had a good discussion at first about the team and role, then the interviewer shared a Google Doc and pasted a problem and asked my approach
Find Peak Element in an Array: https://leetcode.com/problems/find-peak-element/description/
An athlete running a marathon has RC-reserved calories. He runs, consuming X calories per mile. There are ‘n’ checkpoints, and at each checkpoint, the athlete can drink an energy drink. Given the quantity of energy drinks present at each checkpoint (E) and the distance the next checkpoint is at, return the minimum number of drinks he needs to have to complete the marathon.
RC = 10
XM = 3
E = [5, 10, 2].
D = [2, 1, 6]
I got stuck on the second problem for a bit, but the interviewer gave a hint and I was able to complete both problems optimally.
**Round-3: System Design Round (LLD + HLD) [1 hour]
The third round was a design round, and the interviewer was super late. We had only 48 minutes left when he came. I tried calling the recruiter, but she didn't pick up. I waited for a while, thinking about the logout. There was no introduction, and as such, we jumped straight to the design problem.
I was asked to design a chatbot system similar to how Swiggy and Zomato answer FAQs, resolve known issues, and connect to a customer care specialist if the issue is not resolved.
We discussed approach LLD and HLD. The interviewer was restless, and I had to answer questions at least twice fbefore the interviewer understood. In the end, I asked about team and interviewer's role, and the interview ended.
**Round 4: Hiring Manager [1 hour]
The interviewer started with a brief introduction and asked for my introduction as well.
I was asked about my projects in depth.
Asked about OOPS in depth: Java interfaces, singelton classes, etc.
Asked about Kafka, AWS services, etc.
Why Flipkart?
Why should we hire you?
After two days, I received a rejection mail, called the recruiter for feedback, never got a response, and dropped a mail as well but I never got a response.