You are viewing a single comment's thread. Return to all comments →
how come u are returning head everytime, it shud be return current; head will only be returned in if condition
Seems like cookies are disabled on this browser, please enable them to open this website
Insert a Node at the Tail of a Linked List
You are viewing a single comment's thread. Return to all comments →
how come u are returning head everytime, it shud be return current; head will only be returned in if condition