Implement an At-Least-Once Task Scheduling Queue with DLQ

Implement a task scheduling queue with at-least-once delivery and a dead-letter queue (DLQ).

Each job has:

  • jobId: a unique job identifier.
  • timeout: the lease duration after a worker ...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: