WalkMe interview question

hierarchy tree of managers, create a rate limiting function