feat: add kth next greater element script to /data_structures/stacks/. #18060
Annotations
8 errors
|
ruff
Process completed with exit code 1.
|
|
ruff (E501):
data_structures/stacks/kth_next_greater_element.py#L49
data_structures/stacks/kth_next_greater_element.py:49:89: E501 Line too long (94 > 88)
|
|
ruff (E501):
data_structures/stacks/kth_next_greater_element.py#L47
data_structures/stacks/kth_next_greater_element.py:47:89: E501 Line too long (108 > 88)
|
|
ruff (E501):
data_structures/stacks/kth_next_greater_element.py#L45
data_structures/stacks/kth_next_greater_element.py:45:89: E501 Line too long (97 > 88)
|
|
ruff (E501):
data_structures/stacks/kth_next_greater_element.py#L32
data_structures/stacks/kth_next_greater_element.py:32:89: E501 Line too long (98 > 88)
|
|
ruff (C416):
data_structures/stacks/kth_next_greater_element.py#L10
data_structures/stacks/kth_next_greater_element.py:10:14: C416 Unnecessary list comprehension (rewrite using `list()`)
help: Rewrite using `list()`
|
|
ruff (I001):
data_structures/stacks/kth_next_greater_element.py#L6
data_structures/stacks/kth_next_greater_element.py:6:1: I001 Import block is un-sorted or un-formatted
help: Organize imports
|
|
ruff (E501):
data_structures/stacks/kth_next_greater_element.py#L2
data_structures/stacks/kth_next_greater_element.py:2:89: E501 Line too long (99 > 88)
|