American Express interview question

Three coding questions - comparing binary trees for equality, checking for divisibility, and I forgot the third one but it was also pretty easy.