Panda Guru LogoPanda
Guru

Flexport | SDE 2 | Rejected

Round 1

Questions:

  1. My Calendar 1: Leetcode - Solved this
  2. Follow up on this: - Code not working as expected
  3. Merge events:
    merge(10, 20) => [[10, 20]] merge(40, 50) => [[10, 20], [40, 50]] merge(20, 30) => [[10, 30], [40, 50]] merge(45, 55) => [[10, 30], [40, 55]]
Candidate's Approach

I solved it using the merge intervals algorithm, but the interviewer was expecting a better solution than that. I tried to think of an approach and was able to explain it, but coding took some time and at the end, the code was not giving the expected output. Due to nervousness, I couldn't code it up.

Interviewer's Feedback

No feedback provided.