Skip to content

added 3 DSA questions in python #15161

added 3 DSA questions in python

added 3 DSA questions in python #15161

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

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
ruff
Process completed with exit code 1.
Ruff (UP006): data_structures/arrays/sliding_window_maximum.py#L17
data_structures/arrays/sliding_window_maximum.py:17:72: UP006 Use `list` instead of `List` for type annotation
Ruff (UP006): data_structures/arrays/sliding_window_maximum.py#L17
data_structures/arrays/sliding_window_maximum.py:17: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 (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