Pergunta de entrevista da empresa RBC

Binary Search Tree to swap left and right children