
Given a string s, find the length of the longest substring without repeating characters.Example 1:Example 2:Example 3:

Longest Palindromic Substring먼저 짝수와 홀수 경우로 나누어 생각하자 i가 0부터 문자열 끝가지 움직여 가면서 i기준 왼쪽 과 오른쪽이 같은지를 확인한다.동일하면 l은 왼쪽으로 r은 오른쪽으로 계속 이동 그렇지 않으면 멈춘다. 문자열의 길이는 r

You are given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of the ith line are (i, 0) and (i, hei