From b096504358c48dcdf578423f5fb1393eda0efdc9 Mon Sep 17 00:00:00 2001 From: Erick David Cohen <47284065+erickdcohen@users.noreply.github.com> Date: Thu, 19 Jun 2025 10:46:59 -0400 Subject: [PATCH] Update Pacific Atlantic Water Flow - Leetcode 417.py Removes `coords = set()` as described in youtube tutorial --- .../Pacific Atlantic Water Flow - Leetcode 417.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Pacific Atlantic Water Flow - Leetcode 417/Pacific Atlantic Water Flow - Leetcode 417.py b/Pacific Atlantic Water Flow - Leetcode 417/Pacific Atlantic Water Flow - Leetcode 417.py index 90aea0b..5c38ee5 100644 --- a/Pacific Atlantic Water Flow - Leetcode 417/Pacific Atlantic Water Flow - Leetcode 417.py +++ b/Pacific Atlantic Water Flow - Leetcode 417/Pacific Atlantic Water Flow - Leetcode 417.py @@ -27,7 +27,6 @@ def pacificAtlantic(self, heights: List[List[int]]) -> List[List[int]]: a_seen.add((m - 1, j)) def get_coords(que, seen): - coords = set() while que: i, j = que.popleft() for i_off, j_off in [(0, 1), (1, 0), (-1, 0), (0, -1)]: