Add Splay Tree implementation #16072
Annotations
2 errors
|
ruff
Process completed with exit code 1.
|
|
Ruff (SIM108):
data_structures/binary_tree/splay_tree.py#L302
data_structures/binary_tree/splay_tree.py:302:13: SIM108 Use ternary operator `current = current.left if key < current.key else current.right` instead of `if`-`else`-block
|