The first task is to compute the frequency of each character appearing in the string. In the output, the characters have to be arranged in the same order as they appear in the input string. Then characters have to be rearranged, such that all the characters having a specific frequency, say x, come together. What I have tried: first part of accumulating frequency is done .Whereas second part for rearranging is left.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)