Pregunta de entrevista de EY

Diff b/w set and TreeSet