Singly linkedlist | Sololearn: Learn to code for FREE!

+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 ?

3/17/2018 12:46:28 PM

moon walker

1 Answer

New Answer

+8

you can try maybe with two for loops, and look at every element if is not duplicate with others and print them