Rosetta Problems

Last Substring in Lexicographical Order

https://leetcode.com/problems/last-substring-in-lexicographical-order