OpenGenus/cosmos
Voir sur GitHubAdd code for Lexicographic rank of a string in any language
Open
#1 152 ouverte le 11 oct. 2017
Hacktoberfestadd codenew algorithm
Métriques du dépôt
- Stars
- (13 462 stars)
- Métriques de merge PR
- (Aucune PR mergée en 30 j)
Description
Add the code for Lexicographic rank of a string in any language ( C, C++, Java, Go, Python or any other)
The lexicographic rank of a string is the rank of the string among all permutations of its characters sorted lexicographically.
The code should be placed at code/mathematical-algorithms/lexicographic_string_rank
Note: multiple contributors can work on this issue as it has multiple parts (languages)
Your pull request will be reviewed by maintainers instantly.
For contribution guidelines, see this
If you need any help, let us know.