Divide and Conquer(분할 정복법)

11/14 (화) 대소문자를 모두 가지는 최장 부분 문자열 구하기 TIL
공부한 것LeetCode #1763. Longest Nice SubstringLongest Nice Substring - LeetCodeCan you solve this real interview question? Longest Nice Substring - A string s is nice if, for every letter of the alphabet that s contains, it appears both in uppercase and lowercase. For example, "abABB" is nice because 'A' and 'a' appear, and 'B' and 'b' appear. However, "abA" is not because 'b' appears, but 'B' does..