Available question text
Coordinate hydrogen and oxygen threads so they pass a barrier in groups of three forming H2O: ensure exactly two H threads and one O thread proceed and "bond" together before any threads from the next molecule, using releaseHydrogen and releaseOxygen calls.
Related questions
Continue with questions that share topics or the same question type.
- Building Boxes
Coding · Binary Search · Greedy · Math
- Find Building Where Alice and Bob Can Meet
Coding
- Furthest Building You Can Reach
Coding · Array · Greedy · Heap (Priority Queue)
- Leetcode medium - hard questions. Solution of one question is then used to solve another question building on top of it.
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1117. Building H2O
Interview date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source