We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
@kennasoft: Hi, ur code is pretty much clean :) well done :) i'm not a big fan of recursion. It's cool u thought this without using recursion.
But don't u think u must delete the duplicate nodes? So there should be a "delete" or "free()" line of code like this:
Delete duplicate-value nodes from a sorted linked list
You are viewing a single comment's thread. Return to all comments →
@kennasoft: Hi, ur code is pretty much clean :) well done :) i'm not a big fan of recursion. It's cool u thought this without using recursion. But don't u think u must delete the duplicate nodes? So there should be a "delete" or "free()" line of code like this: