You are viewing a single comment's thread. Return to all comments →
Excellent!! approach which is efficient as no need for recursion or first iterate till end to get count of nodes.
Seems like cookies are disabled on this browser, please enable them to open this website
Get Node Value
You are viewing a single comment's thread. Return to all comments →
Excellent!! approach which is efficient as no need for recursion or first iterate till end to get count of nodes.