What is your hint or solution suggestion?
(Guess no one has answered this one here!?)
Note: you need to pass an integer as value to your remove func. for a sec i had thought I pass a Node since my test fail! But as previous questions pass an integer as parameters to lookUp!
Hint 1: you need a lookUp func. to search the node based on integer value passed. You do it using a loop too!
Hint 2: keep track of parent Node set as null initially outside the loop. As you go down the tree update you parent.
Hint 3: having Done above! update the parent node’s references accordingly.
Challenge: Delete a Leaf Node in a Binary Search Tree
Link to the challenge: