題目:
+----+-------+| Id | Score |+----+-------+| 1 | 3.50 || 2 | 3.65 || 3 | 4.00 || 4 | 3.85 || 5 | 4.00 || 6 | 3.65 |+----+-------+
超出字串中最長的字串。
Example 1:
Input: s = "babad"Output: "bab"Note: "aba" is also a valid answer.
Example 2:
Input: s = "cbbd"…
Input: s = "abcabcbb"Output: 3Explanation: The answer is "abc", with the length of 3.
找出字串中,不重複最長有多少。
Input: s = "()"Output: true
Input: s = "()[]{}"Output: true
Example 3:
Input: s = "(]"…