cosmos icon indicating copy to clipboard operation
cosmos copied to clipboard

Add code for Lexicographic rank of a string in any language

Open AdiChat opened this issue 9 years ago • 4 comments

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.

AdiChat avatar Oct 11 '17 06:10 AdiChat

I am working on the C++ implementation of this.

shubhamcr avatar Oct 12 '17 06:10 shubhamcr

Check my PR #1267

shubhamcr avatar Oct 12 '17 08:10 shubhamcr

Can i work on the java implementation of this ?

kanaygupta avatar Oct 14 '17 20:10 kanaygupta

check my PR #1544

kanaygupta avatar Oct 14 '17 20:10 kanaygupta