青墨书晚风
原文链接: https://leetcode-cn.com/problems/last-substring-in-lexicographical-order 英文原文Given a string s, return the last substring of s in lexicographical order. Example 1: Input: s = "abab" Output: "bab" Explanation: The substrings are ["a", "ab", "aba"…