You are viewing a single comment's thread. Return to all comments →
Instead of while(true) shouldn't we use while(temp)? Better to have Null checks ahead.
Seems like cookies are disabled on this browser, please enable them to open this website
Binary Search Tree : Lowest Common Ancestor
You are viewing a single comment's thread. Return to all comments →
Instead of while(true) shouldn't we use while(temp)? Better to have Null checks ahead.