Swiggy | SDE 4 | Bangalore | August 2021 | Reject

Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2021-08-24Added By Anonymous
Source: Link

Hi All,

I recently interviewed with Swiggy(Bangalore), and wanted to share my experience. Hope this helps

Years of Exp: 7+

Applied via LinkedIn referrals.


Round 1 - Machine Coding - 2hours

Design a Parking Lot System.

Full Question

So in this round you are expected to have a fully executable code with proper code design (in IDE) with basic test cases. I was able to do them. Was asked some questions on basic scalability and concurrency.


Round 2 - Problem Solving - 1 hour

1.https://leetcode.com/problems/3sum/
2.Given 2 integers, a numerator and denominator, return the recurring part of quotient in the format 0.33333 => 0.(3), 0.12341287361238238238238 => 0.12341287361(238). https://leetcode.com/problems/fraction-to-recurring-decimal/

Was able to solve both of them. More than a functional code, the focus on this round was how I approached the problem.


Round 3 - Low-Level Design - 1 hour

How would you design a Key-Value store with a capacity of 10K keys with following requirements

•Put -> Add keys to the store with a specified TTL (time to live). If capacity is hit the store should be able to efficiently evict keys and add new keys. Free to design your own eviction logic
•Get -> Get the value of the key and whether active/expired.

This round again required a fully working and a functional code with proper code design. Was able to do it. Post which I was asked various scenarios and how I would design the code - what kind of Design Patterns would I use.


Round 4 - High-level Design - 1hour

Design Customer Segmentation Platform.

Users:500 mn

Inputs: Different types of events like browsing history, orders ...

Input Volume : 5bn events

Segment: 100 segments

User can also belong multiple segment

•We need to consume diff types of events.
•We need to allow diff rules for creating segments.
•Then enrich segments and store data.

Had a healthy discussion with the interviewer here. The interviewer seemed impressed at the end of the round. Focus was primarily on what functional/non-functional requirements I chose to design and then how to design the APIs, DB schema and the system components.

The HR told post this round that it was a positive feedback overall.


Round 5 - Hiring Manager - 1hour

1.Deep discussion of projects.
2.Some behavioural questions.
3.How would you design an SLA service? In other words, design a service which alerts when SLA of a job is breached. How would you handle scalability issues.

I messed up this round a little and was the cause of rejection. The HM picked on some of my older projects which I was not very well prepared for.


Notes

•Expectation of an SDE 4 in Swiggy is 40-50 % coding and rest on participating in System Design, helping team members etc. and thus the interviews focused more on design and leadership skills.
•Overall it was quite a postive experience. All interviewers were friendly, will keep you comfortable, listen to your thoughts.
Comments