Skip to content

Add binary search to find peak index in a mountain array #14553

Add binary search to find peak index in a mountain array

Add binary search to find peak index in a mountain array #14553

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

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
ruff
Process completed with exit code 1.
Ruff (UP006): data_structures/arrays/peak_mountain_array.py#L10
data_structures/arrays/peak_mountain_array.py:10:24: UP006 Use `list` instead of `List` for type annotation
Ruff (UP035): data_structures/arrays/peak_mountain_array.py#L7
data_structures/arrays/peak_mountain_array.py:7:1: UP035 `typing.List` is deprecated, use `list` instead