sort characters by frequency leetcode python solution

visit shbcf.ru