The link : leetcode.com/problems/surrounded-regions/ Surrounded Regions - 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 문제는 다음과 같다. 1. 4방위가 X로 둘러쌓인 O를 X로 전환한다. 2. 아래 예시 같은 경우에도 4방위가 X로 둘러쌓인것이 인정된다. 3. 그러므로 테두리에 해당되는 영역은 O,X에 관계없이 전환이 불가능하다. 4. 테두리와 4방위로 이어진 영역 또한 마찬가지다. 문제 풀이는 다음..