New course! Every coder should learn Generative AI!
Try a free lesson+ 4
Singly linkedlist
Suppose we have unsorted single linked list that have the last names of students , how to print all last names without repeatition ?
1 Answer
+ 8
you can try maybe with two for loops, and look at every element if is not duplicate with others and print them