You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
predecessor, successor function in BinarySearchTree
public func predecessor() -> BinarySearchTree<T>?
public func successor() -> BinarySearchTree<T>?
Is BinarySearchTree<T>? necessary? I think BinarySearchTree? will fine.
If BinarySearchTree<T>? is necessary, would you please let me know the reason why?
If not, I take this issue and make PR.
Thanks 😄 .