Halloween Sale
Unlock all premium questions for over 30% off
Typed Task Mutex Lock
Medium
Question
On a machine-learning platform, a large number of short jobs run at once, and every job gets a thread to itself. There are two kinds of job: generation jobs ("gen") and scoring jobs ("score"). On the shared hardware each kind would interfere with the other. The platform therefore lets jobs of the same kind overlap in any number, but a gen job and a score job may never be running at the same moment.
...
More Microsoft interview questions
- Suffix Maximum Occurrencesmedium
- Segment String Reconstructionhard
- Best Window For Target Countmedium
- OA [CodeSignal] Prime Jumpsmedium
- Combine N-ary Treeshard
- Digit Replacement Maximizermedium
- Evens Before Oddsmedium
- Bounded Repeat Substringmedium
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.