Implement multi-level task manager APIs | Ramp Interview Question