Amazon Interview Question

How to tell if a tree is symmetric.

Interview Answers

Anonymous

Jan 29, 2013

Flatten a tree and make your life simpler

2

Anonymous

Oct 14, 2018

If the tree is a binary tree, than the balanced tree height should be log2(n)