Online Assessment
Questions from here
https://leetcode.com/discuss/interview-question/1415530/swiggy-online-assessment-questions-sde-ii
https://leetcode.com/discuss/interview-question/1164255/swiggy-online-assessment-question
Onsite Interview
Round 1 - LLD round - Notification Service design - Design a notification service for swiggy which takes in a list of users and message and notifies them . Users could be of different types like delivery men , swiggy employees, end user of App .
Round 2 - PS/DS - Longest substring with non repeating characters
Round 3 - Coding + CS fundamental - Difference between NoSql and SQL . ACID properties . Diff between TCP and UDP .
1 coding question on concurrency(Read a large file and increment the count of words) . How dns works . what is CDN .
I think i got rejected due to LLD round . Didnt go that well .Other rounds were fine according to me . While writing the functions in LLD I was in a hurry and didnt mention the return types of functions properly and in one of the classes I was not following single responsibility principle . Interviewer pointed this out at the end of the interview .
Any suggestions to improve LLD?