Swiggy SDE2 Interview Experience

Anonymous User
421

Recently appeared for Swiggy SDE 2 interview process

  1. OA - Test was on hackerrank. There were 3 questions in total all of which I felt were of hard category. Could solve only 1 of them and another one some cases were passing. Don't remember the exact questions
  2. DSA Round - This was done on Google Docs. There were 2 questions -
    i. There are 𝑛 students under your supervision, the programming skill of the 𝑖 -th student is 𝑎𝑖 . You have to create team of maximum number of students. The skill of any two students in team should differ by no more than 5 . Output maximum possible number of students in team.
    ii. Given a list of integers, that needs to be divided into 2 lists, such that the absolute difference between the sum of elements in that lists is minimum. Find that minimum difference. Output minimum absolute difference.
  3. LLD Round - Question was to design a coupon based discounting system. Had to come up with the class diagrams, APIs, DB schema and any optimisations that could be done. For optimisation, mentioned using redis caching and async loading on UI.
  4. HM Round - General questions revolving around day to day work, projects and challenges.

Felt that all the rounds went well as well as the last HM round but after this round recruiter ghosted me.

Comments (0)