The interview problem

Practice prompt

A customer's AI triage tool says a ticket is overdue while their operations dashboard says it is on time. Reconcile a four-business-hour response target across offices and holidays.

Original practice, not a reported company interview. All scenarios and worked numbers are illustrative. Interview date: not applicable. Sources retrieved September 30, 2026.

1. Scope and assumptions

This is a business-calendar definition problem, not just conversion from local time to UTC. Ask which office calendar, holiday version, pause states and response event determine the deadline.

2. Worked approach

event instant + calendar version
  → working intervals/pauses
  → deadline
  → reproducible explanation

Trace one disputed ticket from creation instant through calendar selection, working intervals, pauses and first qualifying response. Store the original instant plus the chosen named time zone and calendar version. Compute deadlines by accumulating eligible working duration, not by adding a fixed UTC interval.

Have the operations owner approve examples at weekends, holidays and daylight-saving transitions. Persist the deadline calculation inputs and rule version. Decide whether a changed calendar revises existing deadlines or applies only to new tickets; display that policy rather than silently recomputing history.

3. Calculate the example

For a Monday–Friday 09:00–17:00 calendar with no holiday, a ticket arriving Friday at 16:00 uses one business hour before closing. A four-hour target then has three hours left, making the deadline Monday at 12:00 local time. Friday at 20:00 would be a four-wall-clock-hour deadline and is a different rule. If Monday is a holiday in the selected calendar, the deadline moves to Tuesday at 12:00.

4. Failure cases and trade-offs

Using a fixed UTC offset instead of a named zone mishandles seasonal offset changes. A timestamp without a zone can be ambiguous. Two systems may count an automated acknowledgment differently from a substantive response, so matching arithmetic alone does not resolve the business disagreement.

A single global calendar is simpler but may misrepresent staffed hours. Per-customer calendars add configuration and historical-version requirements. Preserve an explicit exception process when a customer changes staffing or holidays unexpectedly.

5. Validate the result

Create signed-off examples for closing time, nonworking days, pauses, repeated local times and rule changes. Compare both dashboards using the same events and calendar version, then backfill only the agreed scope.

6. Interview follow-ups and self-review

Does a paused ticket resume the old remaining duration? Which calendar applies after team reassignment?

Reward a complete clock definition, named-zone handling, correct weekend example and reproducible historical rules.

Sources and related practice

Technical reference: www.w3.org — Time-zone representation background; business-calendar rules and examples are original.

Exact publication/update date not established in this review. Retrieved September 30, 2026. This reference supports the named technical concept; the proposed workflow and examples are original, not a documented vendor implementation or interview report.

Continue with Resolve unit and meaning mismatches in customer data; Book meetings across changing calendars.

Continue your preparation

Choose a connected learning path or browse more FDE interviews questions. Read our editorial method and attribution policy.