Loading Question...
You have a world map represented as an M-Ary tree. You need to define three operations on it: lock(X, uid), unlock(X, uid), and upgradeLock(X, uid), where X is the name of a node in the tree and uid is the user who is performing the operation.