fix(cyclic_sort): validate input to prevent infinite loop #18629
Annotations
3 errors
|
ruff
Process completed with exit code 1.
|
|
ruff (EM102):
sorts/cyclic_sort.py#L35
sorts/cyclic_sort.py:35:26: EM102 Exception must not use an f-string literal, assign to variable first
help: Assign to variable; remove f-string literal
|
|
ruff (EM102):
sorts/cyclic_sort.py#L33
sorts/cyclic_sort.py:33:26: EM102 Exception must not use an f-string literal, assign to variable first
help: Assign to variable; remove f-string literal
|