Question d’entretien chez Zillow

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