/Lexicography

Minimum rotations for Lexicographically lowest sequence

Primary LanguageJava

Lexicography

Minimum rotations for Lexicographically lowest sequence

This was a hackerrank question I found about and the implementation was done by myself. Rotations are done to find the minimum lexicographical value and the number of rotations is returned.