diff --git a/src/my_project/interviews/google_top_exercises/round_1/06_sliding_window_maximum.py b/src/my_project/interviews/google_top_exercises/round_1/06_sliding_window_maximum.py index eb084297..38b9edfd 100644 --- a/src/my_project/interviews/google_top_exercises/round_1/06_sliding_window_maximum.py +++ b/src/my_project/interviews/google_top_exercises/round_1/06_sliding_window_maximum.py @@ -2,6 +2,7 @@ from collections import deque + class Solution: def maxSlidingWindow(self, nums: List[int], k: int) -> List[int]: # Monotonic deque of indices, values in decreasing order. @@ -23,4 +24,4 @@ def maxSlidingWindow(self, nums: List[int], k: int) -> List[int]: if i >= k - 1: answer.append(nums[dq[0]]) - return answer \ No newline at end of file + return answer \ No newline at end of file