Skip to content

Add median in a stream using optimised heap-based approach #16573

Add median in a stream using optimised heap-based approach

Add median in a stream using optimised heap-based approach #16573

Triggered via pull request December 13, 2025 14:31
Status Failure
Total duration 12s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors
ruff
Process completed with exit code 1.
Ruff (UP006): data_structures/heap/median_in_a_stream.py#L95
data_structures/heap/median_in_a_stream.py:95:13: UP006 Use `list` instead of `List` for type annotation
Ruff (UP006): data_structures/heap/median_in_a_stream.py#L93
data_structures/heap/median_in_a_stream.py:93:15: UP006 Use `list` instead of `List` for type annotation
Ruff (UP006): data_structures/heap/median_in_a_stream.py#L92
data_structures/heap/median_in_a_stream.py:92:15: UP006 Use `list` instead of `List` for type annotation
Ruff (UP006): data_structures/heap/median_in_a_stream.py#L62
data_structures/heap/median_in_a_stream.py:62:47: UP006 Use `list` instead of `List` for type annotation
Ruff (UP006): data_structures/heap/median_in_a_stream.py#L62
data_structures/heap/median_in_a_stream.py:62:33: UP006 Use `list` instead of `List` for type annotation
Ruff (UP006): data_structures/heap/median_in_a_stream.py#L24
data_structures/heap/median_in_a_stream.py:24:15: UP006 Use `list` instead of `List` for type annotation
Ruff (UP006): data_structures/heap/median_in_a_stream.py#L23
data_structures/heap/median_in_a_stream.py:23:15: UP006 Use `list` instead of `List` for type annotation
Ruff (UP035): data_structures/heap/median_in_a_stream.py#L2
data_structures/heap/median_in_a_stream.py:2:1: UP035 `typing.List` is deprecated, use `list` instead