Zillow interview question

Is the binary tree symmetric. Count duplicate values in a string.