Skip to content

Conversation

HardikG14
Copy link

another recursive code for removing duplicates.

return head;
}
node* smallAns = removeDup(head->next);
if(smallAns->Data == head->data){
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Data's d should be small

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant