Walmart SDE-3 Interview , Dallas

Anonymous User
1210
Sep 13, 2023
Sep 13, 2023

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.

NameStartEnd
Abby10100
Ben5070
Carla60120
David150300

Output:

StartEndNames
1050Abby
5060Abby, Ben
6070Abby, Ben, Carla
70100Abby, Carla
100120Carla
150300David
Comments (8)