Pergunta de entrevista da empresa Amazon

The question in which i need to find whether two given binary trees are identical are not.

Resposta da entrevista

Sigiloso

23 de jan. de 2014

Use Floyd's turtle and Hare method to find the loop, use DFS to find if the trees are similar or not.