Pacific Atlantic Water Flow (1) 썸네일형 리스트형 LeetCode: 417번 (Pacific Atlantic Water Flow) [JAVA] 문제 링크 https://leetcode.com/problems/pacific-atlantic-water-flow/ Pacific Atlantic Water Flow - 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 풀이 전체적인 풀이 과정은 다음과 같다. BFS 탐색을 위한 데이터 클래스 생성 2개의 영역(Pacfic Ocean, Atlantic Ocean)에서 동일한 BFS 탐색 진행 1. 각 영역과 인접한 물 타일에 대해 모두 큐에 add 2. 이후 BFS.. 이전 1 다음