Skip to content

Instantly share code, notes, and snippets.

View misra0514's full-sized avatar

misra0514

View GitHub Profile
#BST should have root
#Node should have value left right and height
1: import random
2: class Binary_Search_Tree:
# TODO.I have provided the public method skeletons. You will need
# to add private methods to support the recursive algorithms
# discussed in class
2: class __BST_Node: