← Questions

Priority task executor with duplicate task ids

0
SnowflakeCodingLast asked Jun 2026

A coding interview question asked in Snowflake's coding round, last asked Jun 2026. It tests heaps, concurrency and data structure design.

Design and implement an in-memory priority task executor. Tasks are submitted with an id and a priority, and the executor runs them highest priority first.

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

  • Snowflake · Coding · Last asked Jun 202660 min · Live coding; senior loops may agree a small storage component together, then build it

What it tests

heaps · concurrency · data structure design

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