Add Splay Tree implementation #13760 [hacktoberfest] #16219
Annotations
3 errors
|
ruff
Process completed with exit code 1.
|
|
Ruff (SIM108):
data_structures/binary_tree/splay_tree.py#L88
data_structures/binary_tree/splay_tree.py:88:13: SIM108 Use ternary operator `z = z.left if key < z.key else z.right` instead of `if`-`else`-block
|
|
Ruff (PLR5501):
data_structures/binary_tree/splay_tree.py#L67
data_structures/binary_tree/splay_tree.py:67:13: PLR5501 Use `elif` instead of `else` then `if`, to reduce indentation
|