added 3 DSA questions in python #15155
Annotations
10 errors
|
Ruff (UP006):
data_structures/arrays/sliding_window_maximum.py#L23
data_structures/arrays/sliding_window_maximum.py:23:62: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (UP006):
data_structures/arrays/sliding_window_maximum.py#L23
data_structures/arrays/sliding_window_maximum.py:23:40: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (UP035):
data_structures/arrays/sliding_window_maximum.py#L19
data_structures/arrays/sliding_window_maximum.py:19:1: UP035 `typing.List` is deprecated, use `list` instead
|
|
Ruff (E501):
data_structures/arrays/sliding_window_maximum.py#L3
data_structures/arrays/sliding_window_maximum.py:3:89: E501 Line too long (104 > 88)
|
|
Ruff (UP006):
data_structures/arrays/longest_ones_after_replacement.py#L16
data_structures/arrays/longest_ones_after_replacement.py:16:34: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (UP035):
data_structures/arrays/longest_ones_after_replacement.py#L12
data_structures/arrays/longest_ones_after_replacement.py:12:1: UP035 `typing.List` is deprecated, use `list` instead
|
|
Ruff (E501):
data_structures/arrays/longest_ones_after_replacement.py#L3
data_structures/arrays/longest_ones_after_replacement.py:3:89: E501 Line too long (129 > 88)
|
|
Ruff (UP006):
data_structures/arrays/fruit_into_baskets.py#L17
data_structures/arrays/fruit_into_baskets.py:17:35: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (I001):
data_structures/arrays/fruit_into_baskets.py#L1
data_structures/arrays/fruit_into_baskets.py:1:1: I001 Import block is un-sorted or un-formatted
|
|
Ruff (UP035):
data_structures/arrays/fruit_into_baskets.py#L1
data_structures/arrays/fruit_into_baskets.py:1:1: UP035 `typing.List` is deprecated, use `list` instead
|