Flipkart | SDE-2 | Bengaluru | July 2024 | Offer

flipkart logo
flipkart
SDE-2BengaluruOffer
August 17, 20240 reads

Summary

I successfully interviewed for an SDE-2 Backend role at Flipkart in July 2024 and received an offer. The interview process comprised four comprehensive rounds: a Machine Coding round, a Problem Solving and Data Structures (PSDS) round, a Low-Level Design (LLD) round, and a final Hiring Manager (HM) discussion.

Full Experience

Round 1: Machine Coding Round (2 hours)

The first 30 minutes involved a briefing of the problem statement by an SDE 3, where all candidates were added to a meeting to understand the requirements. For the next 1.5 hours, I was required to code the solution in my preferred IDE and submit a zip file via a Google Form. During this part, I had to share my screen, and the session was recorded.

Round 2: PSDS (1 hour)

In this round, I was presented with two questions that were of medium-hard difficulty.

Round 3: LLD Round (1 hour)

This round focused on Low-Level Design, where I was asked to design a specific system.

Round 4: Hiring Manager Round (1 hour)

The final round was with a senior manager. This discussion revolved around my current projects, team structure, the technologies I have experience with, and some behavioral questions.

Interview Questions (4)

Q1
Doctor-Patient Appointment Booking System
System DesignHard

You are required to build an application that lets patients connect to doctors and book appointments. The day is divided into time slots of 30 mins each, starting from 9 am to 9 pm. Doctors can login to the portal and declare their availability for the given day in terms of slots. Patients can login and book appointments/ cancel existing appointments.
For simplicity you can assume that the doctors’ availability is declared for that particular day only.

Functionalities required:

  • A new doctor should be able to register, and mention his/her speciality among (Cardiologist, Dermatologist, Orthopedic, General Physician)
  • A doctor should be able to declare his/her availability in each slot for the day. For example, the slots will be of 30 mins like 9am-9.30am, 9.30am-10am..
  • Patients should be able to login, and search available slots based on speciality.
  • The slots should be displayed in a ranked fashion. Default ranking strategy should be to rank by start time. But we should be able to plugin more strategies like Doctor’s rating etc in future.
  • Patients should be able to book appointments with a doctor for an available slot. A patient can book multiple appointments in a day. A patient cannot book two appointments with two different doctors in the same time slot.
  • Patients can also cancel an appointment, in which case that slot becomes available for someone else to book.
  • Build a waitlist feature: If the patient wishes to book a slot for a particular doctor that is already booked, then add this patient to the waitlist. If the patient with whom the appointment is booked originally, cancels the appointment, then the first in the waitlist gets the appointment.
  • A patient/doctor should be able to view his/her booked appointments for the day.
  • Doctors can’t provide overlapping slots.
  • Implementing login feature is optional
  • Patient registration is not mandatory
  • Name of Doctor and patient are their identifiers

Q2
Distinct Shapes in a 2D Binary Matrix
Data Structures & AlgorithmsMedium

Given a 2D binary matrix consisting of 0s and 1s, write an algorithm to find the number of distinct shapes formed by clusters of 1s. Two shapes are considered distinct if one cannot be transformed into the other by translation (shifting).

Input

  • A 2D list matrix of size m x n where each element is either 0 or 1.

Output
  • An integer representing the number of distinct shapes in the matrix.

Q3
Longest Substring with At Most K Distinct Characters
Data Structures & AlgorithmsMedium
Q4
Mind Wellness Center Design
System DesignHard

Design a Mind Wellness Center application. It can have multiple Activities like: lectures, group therapies, support groups sessions, 1:1s etc.,

Features

  • Users should be able to see the list of events, list of available therapists.
  • Users should be able to book multiple events, search the events by event type, date

Discussion (0)

Share your thoughts and ask questions

Join the Discussion

Sign in with Google to share your thoughts and ask questions

No comments yet

Be the first to share your thoughts and start the discussion!