Software Engineer • Senior-Level
Software Engineer • Senior-Level
High QualityInterview Summary
The Attentive interview consisted of two back-to-back phone screens covering coding and system design. The coding round was a binary-search problem over timestamped logs, with extra emphasis on duplicate timestamps, inclusive range boundaries, and query ranges that may extend beyond the available dataset.
Interview Details
Coding — Retrieve Logs Within an Inclusive Time Range
You are given a collection of logs already sorted by timestamp in nondecreasing order. Each log contains a timestamp and a message: (timestamp, message). Given an inclusive time interval [start_time, end_time], return every log whose timestamp falls within that range.
Important requirements included:
- Both
Unlock Full Details
Create a free account to unlock this interview experience report.