EliteProgrammersClub / EPCDailyChallenge

Daily challenge on algorithm, using different languages. From different problems to be solved.
MIT License
7 stars 20 forks source link

Max Character #6

Open xasterKies opened 2 years ago

xasterKies commented 2 years ago

Directions

Given a string, return the character that is most commonly used in the string. Make use of functions and methods where necessory

You can code this with any language of you choice!

Examples

maxChar("abccccccd") === "c" maxChar("apple 1231111") === "1"

xxxSkypper commented 2 years ago

please assign me

BertinAm commented 2 years ago

Assing me @xaster-Kies

xasterKies commented 2 years ago

Done @BertinAm

BertinAm commented 2 years ago

Thanks @xaster-Kies

ngigordon commented 2 years ago

please assign me

xasterKies commented 2 years ago

Done @ngigordon

BertinAm commented 2 years ago

e6ccd04fe0053dd9de789f67ab0c888ae3af80fe

BertinAm commented 2 years ago

thats my pull request for the max character