OpenGenus/cosmos

Add code for Lexicographic rank of a string in any language

Open

#1,152 建立於 2017年10月11日

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)C++ (3,724 fork)batch import
Hacktoberfestadd codenew algorithm

倉庫指標

Star
 (13,462 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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.

貢獻者指南