LeetCode

Last Substring in Lexicographical Order

Click here for an explanation.