Add the method to your bst_linked.py file in your data_structures project. Test it from q1.py.
def identical(self, rs): """ ——————————————————— Determines whether two BSTs are identical. Use: b = bst.is_identical( rs ) ——————————————————- Preconditions: rs – another bst (BST) Postconditions: returns identical – True if this bst contains the same values in the same order as rs, otherwise returns False (boolean) ——————————————————- """ Add the method to your bst_linked.py file in your data_structures project. Test it from q1.py. Hint: the method is recursive and requires an auxiliary function
Get your college paper done by experts
Do my questionPlace an order in 3 easy steps. Takes less than 5 mins.