Yandex interview question

Check if two binary tree is equals