Domanda di colloquio di PTC

implement a swap function and a recursive function which find the height of a binary tree and then a function which find the longest path