You are viewing a single comment's thread. Return to all comments →
how to resolve this?
Traceback (most recent call last): File "solution.py", line 77, in llist_head = insertNodeAtPosition(llist.head, data, position) File "solution.py", line 58, in insertNodeAtPosition prevNode.next = SinglyLinkedListNode(data, prevNode.next) TypeError: init() takes 2 positional arguments but 3 were given****
Seems like cookies are disabled on this browser, please enable them to open this website
Insert a node at a specific position in a linked list
You are viewing a single comment's thread. Return to all comments →
how to resolve this?