Pregunta de entrevista de Cyzerg

1. Sort the Array based on the frequency.