← Questions

Print timed text intervals in order and flag overlaps and gaps

0
SierraCodingLast asked Nov 2025

A coding interview question asked in Sierra's code ownership round, last asked Nov 2025. It tests intervals and sorting.

You get debug log segments as (start, end, text) tuples, in no particular order. Times are integer seconds and each segment covers the half-open range [start, end).

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Sierra · Code ownership · Last asked Nov 2025One of two, announced ahead: take over a teammate's PR in a small codebase and get it to shippable by finding and fixing what blocks it (debugging), or add a feature to a small existing app (feature development); you run the app locally, over Zoom · Debugging: AI tools only to navigate, explain and make narrow changes, never to review the PR or find the issues. Feature development: fully allowed

What it tests

intervals · sorting

Your code and the AI tutor open when you unlock this question.