Swiggy | SDE2 | India | Reject

Anonymous User
1791

OA:

  1. Maximizing genie pickup drop.
    similar to https://leetcode.com/problems/maximum-profit-in-job-scheduling/

  2. Flexible strings
    same questions as the below post #2.
    https://leetcode.com/discuss/interview-question/1992384/SWIGGY-OA

  3. Don't remember exact question but easy sort based question.

Solved all 3, next round was scheduled.

Machine coding:
Design expense sharing application like splitwise.
Similar requirements as https://workat.tech/machine-coding/editorial/how-to-design-splitwise-machine-coding-ayvnfo1tfst6
Took close to 3 hours including explanation.
Criteria is code should be able to handle all the requirements.
Sample test cases should pass as they will be verified by the interviewer.

Coding:

  1. https://leetcode.com/problems/unique-binary-search-trees/
  2. Number of subarrays having sum in a given range
    Need to write pseudo code and do dry run with given example.
    Was able to solve 1st question, but was unable to give the optimised solution for 2nd.

Verdict- Rejected

References:
OA - https://leetcode.com/discuss/interview-question/2515595/SWIGGY-ALL-INTERVIEW-QUESTIONS
machine coding - https://workat.tech/machine-coding

Comments (2)