[Leetcode/Python] 1047. Remove All Adjacent Duplicates In String


[Leetcode/Python] 1047. Remove All Adjacent Duplicates In String

문제 링크 Remove All Adjacent Duplicates In String - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 문제 설명 영어 소문자로 구성된 문자열 s가 제공됩니다. 이 문자열에서 두 개의 인접하고 동일한 문자를 선택하여 제거하는 것으로 구성됩니다. 이 방식은 더 이상 할 수 없을 때까지 반복적으로 중복 제거를 수행합니다. 이러한 모든 중복 제거가 수행된 후 최종 문자열을 반환합니다. 반환된 값은 독특하다는 것을 알 수 있습니다. 입출력..


원문링크 : [Leetcode/Python] 1047. Remove All Adjacent Duplicates In String