Cleartrip|SDE2|India|[Reject]
Anonymous User
1469

Applied from instahyre.

Round 1: Coding
Taken by 3rd party interview provider - interview vector.

  1. https://leetcode.com/problems/maximum-number-of-coins-you-can-get/
    Need to solve directly in leetcode and pass all test cases.
  2. Find out all the common durations of users logged in at the same time in system.
    same as in https://leetcode.com/discuss/interview-experience/1596602/Cleartrip-or-SDE-2-or-Bangalore

Two users U1, U2 and their login, logout times are given. Need to print the common time they were both logged in. Assumption is that they login and logout within the same day(i have asked the interviewer before starting to code). Also, input is already sorted.
For Ex: U1 - [10:00,12:00] , [14:00,17:00] , [18:30,22:00]
U2 - [11:00,15:00] , [16:00,20:00]
Output - [11;00,12:00] , [14:00,15:00] , [16:00,17:00] , [18:30,20:00]

Did well, got positive feedback from interviewer and recruiter.
Recruiter said she will schedule next round.
Upon following up multiple times, she told position has been filled and to keep in touch :)

My preparation experience & Resources - Link

Comments (3)