Pregunta de entrevista de Xoriant

difference between treeset and hashset