SIGN IN SIGN UP
TheAlgorithms / Python UNCLAIMED

All Algorithms implemented in Python

219160 0 1 Python

BST and RSA doctest (#8693)

* rsa key doctest

* move doctest to module docstring

* all tests to doctest

* moved is_right to property

* is right test

* fixed rsa doctest import

* Test error when deleting non-existing element

* fixing ruff EM102

* convert property 'is_right' to one-liner

Also use 'is' instead of '=='

Co-authored-by: Tianyi Zheng <[email protected]>

* child instead of children

Co-authored-by: Tianyi Zheng <[email protected]>

* remove type hint

* Update data_structures/binary_tree/binary_search_tree.py

---------

Co-authored-by: Tianyi Zheng <[email protected]>
I
isidroas committed
efaf526737a83815a609a00fd59370f25f6d2e09
Parent: cecf1fd
Committed by GitHub <[email protected]> on 8/15/2023, 11:04:53 PM