When trying to print a tree the root takes the value of 20 instead of 80 I guess the problem is inside the library near line 297 bur can't figure out how
from self_balancing_binary_search_tree import SBBST
ST = SBBST()
nums = [80,3,20,95,70] # random numbers
ST = SBBST(nums)
print(ST)
As far as I know,
hence 20 is root.
Hope this solves any confusion here.
:D