How would you test if a binary tree were symmetrical and balanced.
Anonymous
Could you please elaborate on your solution. I was thinking you can do an inorder traversal and then compare the result with 2 pointers starting from the extreme ends. Is that what you are suggesting ?
Check out your Company Bowl for anonymous work chats.