Applied from instahyre.
Round 1: Coding
Taken by 3rd party interview provider - interview vector.
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