Remove Duplicate From Sorted Linkedlist
1. You are give a single sorted linkedlist of numbers.Input Format
2. remove all duplicate nodes such that duplicate numbers appear once and Return the remaning linked list.
1->1->1->4->5->6->6->7->8->9->9->9->nullOutput Format
1->4->5->6->7->8->9->nullQuestion Video
0 <= N <= 10^6Sample Input
12Sample Output
1 1 1 4 5 6 6 7 8 9 9 9
1 4 5 6 7 8 9
-
Asked in Companies
-
Related Topics
Video Solution
Code Solution
{ }
{ }
Run