Skip to content

Update add() method in BinarySearchTree.java#385

Open
coolguyinachair wants to merge 1 commit intowilliamfiset:masterfrom
coolguyinachair:patch-1
Open

Update add() method in BinarySearchTree.java#385
coolguyinachair wants to merge 1 commit intowilliamfiset:masterfrom
coolguyinachair:patch-1

Conversation

@coolguyinachair
Copy link

set the current node as the root node only if the tree is empty

set the current node as the root node only if the tree is empty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant