I've a list a = [(1,3),(3,7),(1,10),(3,5),......]
So on. i.e (entry_time, exit_time).
Where the 1st element in each tuple is the entry time of an employee and the 2nd element is the exit time. need to find the time like in which hour of the day there were maximum people in the office.
Eg output:
{1'00: 10, 2'00: 20, 3'00: 15}
So the final output should be 2'00 with count 20.