Add binary search to find peak index in a mountain array #14552
Annotations
4 errors
|
ruff
Process completed with exit code 1.
|
|
Ruff (UP006):
data_structures/arrays/peak_mountain_array.py#L9
data_structures/arrays/peak_mountain_array.py:9:24: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (I001):
data_structures/arrays/peak_mountain_array.py#L7
data_structures/arrays/peak_mountain_array.py:7:1: I001 Import block is un-sorted or un-formatted
|
|
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
|