← Questions

Document indexing queue assignment

0
GleanCodingLast asked Oct 2026

A coding interview question asked in Glean's coding round, last asked Oct 2026. It tests queues, scheduling and search.

Documents arrive at an indexing service with m indexers, numbered 0 to m - 1. Document i (0-based) arrives at time queue_time[i] and takes processing_time[i] time units.

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

  • Glean · Coding · Last asked Oct 2026Live coding, usually two rounds

What it tests

queues · scheduling · search

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