https://hack.codingblocks.com/contests/c/509/241
please guide me about how to solve this question;
i am having trouble with both string and char approach
first i thought about sorting then solving but was unable to do so;
i had sorted a customised char array only when i knew its size;
and
i dont know the string approach
and am not able to sort the given single string e.g aabfsckd lexographically which if sorted would look like aabcdfks