Amazon Interview Question

Are two trees the same?