Frequency Sort (In case the frequency is the same, then the characters should be sorted based on lexicographical order) https://leetcode.com/problems/sort-characters-by-frequency/
No of islands https://leetcode.com/problems/number-of-islands/