Company Logo
-
Practice>Python>Collections>Company Logohackerrank.com 2019. 2. 26. 18:03
hackerrank.comCompany LogoProblem link : https://www.hackerrank.com/challenges/most-commons/problemDifficulty : Medium TipDon't forget we should sort as alphabet order if the occurrence is sameTo do sort, don't sort resultwe can sort input string like belowBefore sort : bbccaaAfter sort : aabbccWe should manage two things together, one is key(such as 'a') and the other is key's number of occurre..