OpenGenus/cosmos

Add code for Lexicographic rank of a string in any language

Open

#1 152 ouverte le 11 oct. 2017

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)C++ (3 724 forks)batch import
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.

Guide contributeur