Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ashurai/strings-char-max-count

Get the max occurrence of a character in a string , if there is a tight then give preference to the first letter you got
https://github.com/ashurai/strings-char-max-count

Last synced: about 2 months ago
JSON representation

Get the max occurrence of a character in a string , if there is a tight then give preference to the first letter you got

Awesome Lists containing this project

README

        

# strings-char-max-count
Get the max occurrence of a character in a string , if there is a tight then give preference to the first letter you got
Using Map & 2 loop