The HRT process had two technical phone rounds. The first focused on extending an existing event-log system so the same lookup APIs could work for both individual orders and batches of orders.
The second round mixed systems fundamentals with a short coding problem, covering resource constraints, multithreading versus multiprocessing, and formatting integers with thousands separators.
Interview Details
Round 1 — Event Log Lookup for Orders and Batches
The interviewer described an existing system verbally. The system stores a list of events. Each event contains:
timestamp
order_id
batch_id
timestamp
order_id
batch_id
Orders have an opening event and, once completed, a closing event. These records are written into separate files for open and closed orders. An existing lookup function conceptually works like: findTimestamp(target_id) and reads the corresponding file to find the timestamp associated with a target ID.
Another function returns the start and end timestamps for a target order. The task was to modify the existing functionality so that target_id could represent either
Unlock Full Details
Create a free account to unlock this interview experience report.