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 ?

17th Mar 2018, 12:46 PM
moon walker
moon walker - avatar
1 ответ
+ 8
you can try maybe with two for loops, and look at every element if is not duplicate with others and print them
17th Mar 2018, 4:08 PM
Vukan
Vukan - avatar