Domanda di colloquio di Goldman Sachs

Linked List, Sorting question with binary tree