Swiggy | SDE-III | Bengaluru | Jul 2021 [Reject]
Anonymous User
3645

I applied through Swiggy careers page and got the call by recruiter. I have close to 5 years of experience. This was for some kind of platform team that deals with data. Role would be Data Engineering + Backend Engineering

Round 1 (Low level design):
Interview started with my introduction and then went into my project. My current project was similar to the project in the Swiggy team I was being hired for. So interviewer went into details of the architecture of my project and then he gave an usecase where in I had to modify my project. He also gave me an option either to modify the existing project or come up with the entirely new architecture. I first tried modifying the existing architecture and on failing, I decided to go with the new architecture. I came up with solution finally taking some hints from the interviewer, but my limited knowledge in AWS and its products/features did not really help me. I couldnt come up with what interviewer had in his mind, but it was a decent solution.
Feedback: Fit for SDE-II and not SDE-III. Though I did not want to proceed, I agreed to take up further rounds thinking this experience could help me in some other interview. I did not want to proceed for 2 reasons - I did not want to downgrade to SDE-II & second, I had an offer from other company by the time I got this feedback and was interested in joining them.

Round 2 (Machine Coding) :
Interviewer asked me to code in coderpad in this round. The question asked was to print the restaurant menu in the format given below:

Veg
	Paneer
		Manchurian
			Full
			Half
		Chilli
			Full
			Half
	Rice
		Full
		Half
Non Veg
	Chicken
		Kebab
		Lollipop
	Fish
Ice Creams
	Vanila
	Mango
	Strawberry

Basically the idea was there could be multiple hierarchy among these items and everything need not be in same level and he wanted me to print the menu. I came up with some code and was able to print the menu in the exact format he asked which almost took entire 60mins. Initially he had given the menu with same hierarchy and I never thought of the scenario where multiple hierarchy could come. When he twisted the menu to have multiple hierarchy, code was not extensible. I explained him how I would modify the code and also make it extensible.

Round 3 (DS & PS):

  • https://leetcode.com/problems/number-of-provinces/ Same question with different wordings, instead of city and provinces, interviewer mentioned friends and groups. The input was given in adjacency list. I gave the BFS approach and coded it. Follow up: TC, SC and when DFS/BFS
  • Check if a linkedlist is palindrome. I gave a naive approach and then optimized it to O(n) time and O(1) space. I had taken close to 40mins for first question and took 10mins to come up with approach for this question. So I was just left with 5-10mins to code. I wrote a rough code, missed handling edge cases here and there, but corrected all of them as in when I dry ran.

Result: Rejection. Though there were no feedbacks, not being fast enough and the machine coding round has probably cost me an another opportunity. Not very sad this time though.


My other interview experiences: https://leetcode.com/discuss/interview-experience?currentPage=1&orderBy=hot&query=&tag=anonymousengineer

Comments (7)