Swiggy SDE-1 Frontend Interview Experience
Anonymous User
1704

I gave my frontend interview for Swiggy on Dec 2024. It was a fully remote opportunity. There were total 4 rounds.

First Round

On November I received a online test link where I received 5 problems. It was on the hackerrank platform and consists of 2 dsa and 2 javascript and 1 react machine coding question. machine coding question was file explorer question. Main features were -

  • file and folder differentiation
  • nested file structure (using recursion)
  • adding files to folder
  • double click on file would change it to a folder

Second round

Second round was from 3rd party platform which takes interview of candidates behalf of the company. In this round basics of javascript, react questions were asked and I was told to do a leetcode question. It was leetcode easy so yes solved it.

Third round

Third round was taken by a senior frontend engineer. He asked me react basics like component lifecycle, what are hooks etc. then told me to open codesandbox and create a box and if we are moving over that box area then there will be a circle where the cursor is. then told me to modify it so that If I only click then show the circle in that area but also told me to track the cursor position and then told me to optimize it.(for tracking use useRef thats it) Then gave me a code snippet regarding promise completion in a for loop, how much time it will take, how to optimize and made some modifications around it. This round went pretty well.

Hiring Manager Round

This was the hiring manager round. The interviewer was very good. He asked me how I approach a problem. So like If I have to build a thing from ground what are things you are gonna consider So you can think of it as a system design question with no actual target. So like it can be any application. Every aspect I had to discuss. So like planning, component design, data flow, best code practices or you can say what kind of design pattern i am going to follow, performance optimization, testing, monitoring. I was lacking on the monitoring and testing part because I dont have that much experience in these two part. Then he told me what kind of questions you will ask if you get a requirement like building a auto-suggest input. Both functional and non-functional aspects I had to tell.

Verdict - Rejected. Despite the rounds went pretty well I was rejected. I think it was because of 3 parts. Performance, testing and monitoring. So yeah better luck next time. I hope it helps anyone who is preparing.

Comments (1)