Add optimized and standard implementations for Product of Array Except Self algorithm #14575
Annotations
8 errors
|
ruff
Process completed with exit code 1.
|
|
Ruff (E501):
data_structures/arrays/ProductOfArrayExceptSelf.py#L10
data_structures/arrays/ProductOfArrayExceptSelf.py:10:89: E501 Line too long (93 > 88)
|
|
Ruff (UP006):
data_structures/arrays/ProductOfArrayExceptSelf.py#L5
data_structures/arrays/ProductOfArrayExceptSelf.py:5:53: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (UP006):
data_structures/arrays/ProductOfArrayExceptSelf.py#L5
data_structures/arrays/ProductOfArrayExceptSelf.py:5:39: UP006 Use `list` instead of `List` for type annotation
|
|
Ruff (N802):
data_structures/arrays/ProductOfArrayExceptSelf.py#L5
data_structures/arrays/ProductOfArrayExceptSelf.py:5:9: N802 Function name `productExceptSelf` should be lowercase
|
|
Ruff (I001):
data_structures/arrays/ProductOfArrayExceptSelf.py#L1
data_structures/arrays/ProductOfArrayExceptSelf.py:1:1: I001 Import block is un-sorted or un-formatted
|
|
Ruff (UP035):
data_structures/arrays/ProductOfArrayExceptSelf.py#L1
data_structures/arrays/ProductOfArrayExceptSelf.py:1:1: UP035 `typing.List` is deprecated, use `list` instead
|
|
Ruff (N999):
data_structures/arrays/ProductOfArrayExceptSelf.py#L1
data_structures/arrays/ProductOfArrayExceptSelf.py:1:1: N999 Invalid module name: 'ProductOfArrayExceptSelf'
|