Skip to content

added 3 DSA questions in python #15159

added 3 DSA questions in python

added 3 DSA questions in python #15159

Triggered via pull request October 10, 2025 11:46
Status Failure
Total duration 13s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
ruff
Process completed with exit code 1.
Ruff (UP006): data_structures/arrays/sliding_window_maximum.py#L16
data_structures/arrays/sliding_window_maximum.py:16:72: UP006 Use `list` instead of `List` for type annotation
Ruff (UP006): data_structures/arrays/sliding_window_maximum.py#L16
data_structures/arrays/sliding_window_maximum.py:16:40: UP006 Use `list` instead of `List` for type annotation
Ruff (UP035): data_structures/arrays/sliding_window_maximum.py#L2
data_structures/arrays/sliding_window_maximum.py:2:1: UP035 `typing.List` is deprecated, use `list` instead
Ruff (I001): data_structures/arrays/sliding_window_maximum.py#L1
data_structures/arrays/sliding_window_maximum.py:1:1: I001 Import block is un-sorted or un-formatted
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#L1
data_structures/arrays/longest_ones_after_replacement.py:1:1: UP035 `typing.List` is deprecated, use `list` instead
Ruff (UP006): data_structures/arrays/fruit_into_baskets.py#L18
data_structures/arrays/fruit_into_baskets.py:18: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