2020-09-11から1日間の記事一覧

3. Longest Substring Without Repeating Characters

問題:Given a string s, find the length of the longest substring without repeating characters.Input: s = "abcabcbb" Output: 3 Explanation: The answer is "abc", with the length of 3. 文字列の中から、連続する文字列で重複がない最長の長さを求…