easy - accepted / - tried
Given a non-empty string, return the most frequently ocurring character.
If there are multiple characters with same occurrance, return an array of them.
count('abbccc') // 'c' count('abbcccddd') // ['c', 'd']
Follow-up: What is the time & space complexity of your approach?
Let's try to solve this problem within 10 minutes.