Domanda di colloquio di ByteDance

Implement a function to sort tasks that are interdependent.