Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ashurai/strings-char-max-count
- Owner: ashurai
- Created: 2021-08-10T08:20:56.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-08-10T08:25:06.000Z (over 3 years ago)
- Last Synced: 2024-06-21T01:58:59.212Z (7 months ago)
- Language: Go
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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