Walmart SDE-3 Interview , Dallas

Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2023-09-13Added By Anonymous
Source: Link

Input:

Given Names , start and end timestamp for the persons who are on a on call duty. Return the output with start and end times with who all are working in this intervals.

Name Start End

Abby 10 100

Ben 50 70

Carla 60 120

David 150 300


Output:

Start End Names

10 50 Abby

50 60 Abby, ben

60 70 Abby, Ben, Carla

70 100 Abby, Carla

100 120 Carla

150 300 David

Comments