Help with a linkedlist | Sololearn: Learn to code for FREE!

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

10/1/2019 10:31:40 AM

Theuns Booysen

2 Answers

New Answer

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