Glean·Software Engineer·Technical Phone Screen
Jun 2026
Glean coding round, one question the whole time, and it was one of those problems that looks manageable until you actually have to implement it cleanly under pressure. The scheduling logic wasn't hard to reason about but the implementation details piled up fast.
- Build a priority-based job scheduler that processes a stream of jobs with arrival times, durations, and priorities. The processor runs jobs to completion without preemption, picking the highest-priority available job at each step. Ties go to the job that arrived earliest. Return each job's start time, finish time, and wait time.
“I knew I needed a min-heap and figured out the key ordering pretty quickly (-priority, arrival_time).” The rest of the author's notes on Software Engineer interview at Glean, Technical Phone Screen round, covers how they worked through the question, what the panel pushed back on, and what they would do differently.
View Post