摘要:The only difference between the easy and the hard versions is constraints. A subsequence is a string that can be derived from another string by deleti
阅读全文
摘要:String Given a string S and two integers L and M, we consider a substring of S as “recoverable” if and only if (i) It is of length M*L; (ii) It can be
阅读全文
摘要:The kth great number Xiao Ming and Xiao Bao are playing a simple Numbers game. In a round Xiao Ming can choose to write down a number, or ask Xiao Bao
阅读全文