Manager and peer relationships with is_manager queries
Implement three functions:
-
manager(a, b):ais the manager ofb. -
peer(a, b):aandbhave the same manager. -
is_manager(a, b): return whetherais a manager ofb.
Decide how to answer when peers are declared before their manager is known.
No answer yet. Write the first one; the best answer gets endorsed.
