Quick Overview

Build a task scheduler that supports insertion, removal, and bounded popping in timestamp order, using smaller task IDs to break equal-timestamp ties.

Build a Removable Timestamp-Ordered Task Scheduler

Company: ByteDance

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Technical Screen

Overview: Build a task scheduler that supports insertion, removal, and bounded popping in timestamp order, using smaller task IDs to break equal-timestamp ties.

Loading…