Given a string, sort it in decreasing order based on the frequency of characters. 'e' appears twice while 'r' and 't' both appear once. So 'e' must appear before both 'r' and 't'. Therefore "eetr" is ...
Java Solutions to problems on LintCode. Contribute to tsengph/LintCode-2 development by creating an account on GitHub.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results