Skip to content

another recursive code#11

Open
HardikG14 wants to merge 1 commit intoashish-3916:revert-1-masterfrom
HardikG14:patch-2
Open

another recursive code#11
HardikG14 wants to merge 1 commit intoashish-3916:revert-1-masterfrom
HardikG14:patch-2

Conversation

@HardikG14
Copy link
Copy Markdown

another recursive code for removing duplicates.

return head;
}
node* smallAns = removeDup(head->next);
if(smallAns->Data == head->data){
Copy link
Copy Markdown
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