Design a Thread Pool
Build a thread pool: a fixed set of worker threads that run tasks other threads submit, through a bounded queue, with results that can be waited for, tasks that fail without taking a worker with them, and a shutdown that leaves nobody waiting.
How the round runs
Hard · 5 stages · 5 questions · 60 min
~6 min
Requirements Gathering
lists
~3 min
Identifying Core Entities
cards
~14 min
Designing Classes & Relationships
diagram
~28 min
Code Implementation
code
~9 min
Deep Dives
code
Set up your round
Level
Interviewer
Duration
Junior · Standard · 60 min