Search
⌘K

Leetcode 1117. Building H2O

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.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.