Locking and unlocking resources represented as binary tree nodes

medium
Locking and unlocking resources represented as binary tree nodes - Coding Problem | K5kC