145. most frequently occurring character
Share
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')
Follow-up: What is the time & space complexity of your approach?