← Atlassian questions

Count employees in office per hour from entry/exit intervals

Filed under Atlassian

The question

Given entry and exit times of employees as intervals where entry can be greater than exit (next day) and max hours per day is given, find how many employees were in the office at each hour across the day.

No write-up yet. Related questions below have one.

Related Atlassian questions

Collected from public candidate posts and coding forums. Updated Nov 2026.