Facebook Phone Screen - SE - Full Stack [REJECT]

Given a list of emplyee id, start time, end time {[3333,10,15],[5674,12,17],[4343.20,30],[8765,15,30]}, write a function so that in each time there a specific number of employees working..

intput: {[3333,10,15],[5674,12,17],[4343.20,21],[8765,21,30]}

output: [1,10,15],[2,15,17],[3,17,20],[2,20,21],[1,21,30]

out EXPLATION:[ count,start time, end time]

count stands for number of employees can work in one shift (start and end time)

Comments (3)