Design a Priority Task Executor with Duplicate Task IDs

Read the full interview experience this question came from →

Quick Overview

Design an in-memory priority executor where duplicate occurrences may share a task ID but that ID can execute only once. The problem explores deterministic ordering, lazy removal, task-versus-occurrence identity, concurrency linearization, failure policy, and amortized complexity.

Design a Priority Task Executor with Duplicate Task IDs

Company: Snowflake

Role: Software Engineer

Category: Software Engineering Fundamentals

Difficulty: hard

Interview Round: Onsite

Overview: Design an in-memory priority executor where duplicate occurrences may share a task ID but that ID can execute only once. The problem explores deterministic ordering, lazy removal, task-versus-occurrence identity, concurrency linearization, failure policy, and amortized complexity.

Read the full Snowflake Software Engineer interview experience this question came from

Snowflake logo
Snowflake
Jun 9, 2026
hardSoftware EngineerOnsiteSoftware Engineering Fundamentals
6
0
Loading...