mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-09-28 21:45:27 +08:00
* Add splay tree (self-adjusting BST) Implements a splay tree with insert, search and delete, each of which splays the accessed node to the root for amortized O(log n) access and locality of reference. Includes full type hints and doctests. Closes #13760 * Make Node a dataclass and add repr doctest (review feedback)