0
Help with a linkedlist
Trying to append and print out a linked list but my output is stil "No Output" can someone help me please? https://code.sololearn.com/c5tlogsnvlhe/?ref=app
2 Answers
+ 1
you forget parenthesis when calling display at the bottom
also move cur.next = new_node outside of the loop in the append method
0
fixed, updated, working 100%
THANK YOU SO MUCH!!!