https://www.gravatar.com/avatar/8f3abece0f8608ce4b9c1e3212fd1b72?s=240&d=mp

SP1812-LCS2 - Longest Common Substring II

SP1812-LCS2 - Longest Common Substring II 题目: 题目描述: A string is finite sequence of characters over a non-empty finite set Σ. In this problem, Σ is the set of lowercase letters. Substring, also called factor, is a consecutive sequence of characters occurrences at least once in a string. Now your task is a bit harder, for some given strings, find the length of

SP1811-LCS - Longest Common Substring

SP1811-LCS - Longest Common Substring 题目: 题目描述: A string is finite sequence of characters over a non-empty finite set Σ. In this problem, Σ is the set of lowercase letters. Substring, also called factor, is a consecutive sequence of characters occurrences at least once in a string. Now your task is simple, for two given strings, find the length of the longest common

SP7258-SUBLEX - Lexicographical Substring Search

SP7258-SUBLEX - Lexicographical Substring Search 题目: 题目描述: Little Daniel loves to play with strings! He always finds different ways to have fun with strings! Knowing that, his friend Kinan decided to test his skills so he gave him a string S and asked him Q questions of the form: If all distinct substrings of string S were sorted lexicographically, which one will be the