Loading the puzzle…
The puzzle IDE is built for a laptop or larger screen. You can read everything here, but selecting code is easier with a mouse and a wider window.
Read the job queue in packages/runtime-core/src/scheduler.ts. The queue currently holds
two jobs, in this order: job A with id 2, then job B with id 5. Both are flagged QUEUED
and neither has the PRE flag. No flush is in progress (flushIndex is -1). queueJob
is now called once with job P, which has id 5, the PRE flag, and is not flagged QUEUED.
What is the order of the queue afterward?
One of the listed options.
Each hint revealed before you solve takes 20 points off this puzzle's score.
Solve this puzzle to see the solution and a full explanation.
Pick one of the options.