Python icon indicating copy to clipboard operation
Python copied to clipboard

Add successor and predecessor methods for BSTs

Open ybrenning opened this issue 3 years ago • 2 comments

I would like to add a method get_predecessor() and get_successor() to the BinarySearchTree class implementation. These are common algorithms performed on Binary Search Trees and will return the next lowest/next highest value from the tree based on a given BST and a given value.

ybrenning avatar Jan 23 '22 18:01 ybrenning

Hello, I am willing to work on this!

LucasP78 avatar Jan 25 '22 05:01 LucasP78

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 31 '22 16:07 stale[bot]

Hi, I can work on this

AdemolaAri avatar Oct 06 '22 23:10 AdemolaAri