[SQL] Longest_substring_without_repeating_characters


Leetcode Longest_substring_without_repeating_characters

1. 문제

Given a string s, find the length of the longest substring without repeating characters.

2. Input Output 예시

longest_substring_without_repeating_characters1.jpg

설명

  • 브루트포스로 모든 경우의 수를 고려할 시 시간복잡도는 O(N^2)이다.

풀이