Brackets 썸네일형 리스트형 [Codility] Lesson 7 : Brackets - JAVA 문제 A string S consisting of N characters is considered to be properly nested if any of the following conditions is true: - S is empty; - S has the form "(U)" or "[U]" or "{U}" where U is a properly nested string; - S has the form "VW" where V and W are properly nested strings. - For example, the string "{[()()]}" is properly nested but "([)()]" is not. Write a function: class Solution { public i.. 더보기 이전 1 다음