Binary Search Tree : Lowest Common Ancestor

  • + 0 comments

    Instead of while(true) shouldn't we use while(temp)? Better to have Null checks ahead.