OpenGenus/cosmos

Add code for Lexicographic rank of a string in any language

Open

#1152 aperta il 11 ott 2017

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)C++ (3724 fork)batch import
Hacktoberfestadd codenew algorithm

Metriche repository

Star
 (13.462 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor