+ 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 Answer
18th Nov 2017, 7:19 PM
Schindlabua
Schindlabua - avatar