Skip to content

Commit e245324

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 7047193 commit e245324

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

data_structures/arrays/sliding_window_maximum.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from collections import deque
22
from typing import List
33

4+
45
class SlidingWindowMaximum:
56
"""
67
Problem:
@@ -37,6 +38,7 @@ def max_sliding_window(self, nums: List[int], window_size: int) -> List[int]:
3738

3839
if __name__ == "__main__":
3940
solver = SlidingWindowMaximum()
40-
print("Sliding Window Maximum:",
41-
solver.max_sliding_window([1, 3, -1, -3, 5, 3, 6, 7], 3))
42-
41+
print(
42+
"Sliding Window Maximum:",
43+
solver.max_sliding_window([1, 3, -1, -3, 5, 3, 6, 7], 3),
44+
)

0 commit comments

Comments
 (0)