Count the frequency of letters in string and arrange them into acceding order. | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 2

Count the frequency of letters in string and arrange them into acceding order.

use any language that is comfortable for you. eg:- string is: hey there frequency: e-3 h-2 y-1 t-1 r-1 new ordered string: eeehhrty

18th Nov 2017, 2:50 PM
Devendra Kumar
Devendra Kumar - avatar
1 Réponse
18th Nov 2017, 7:19 PM
Schindlabua
Schindlabua - avatar