Day 5 - Sort Characters By Frequency - Leetcode Problem Solved
The Task
Given a string s, sort it in decreasing order based on the frequency of the characters. The frequency of a character is the number of times it appears in the string.
Return the sorted string. If there are multiple answers, return any of them...
sodiqsanusi.hashnode.dev2 min read