Reported interview periodMay 2026
Implement a Task Manager with Expiration and Historical Views
Tasks are scoped by (user, task_id). Implement creation, mutation, TTL expiration, and snapshots.
Practice focusRequirements - A task key can be created only once, even if the task later completes or expires. - Only live incomplete tasks can be updated or completed. - TTL is anchored at creation; a task is absent at and after created at + ttl , and updates do not refresh it. - Current lists contain live incomplete titles ordered by task ID. - A historical list includes all events at or before the requested timestamp and applies expiration relative to that historical time. - Calls arrive in nondecreasing command time, though historical query times may be earlier.…