You are viewing a single comment's thread. Return to all comments →
python 3 recursion
def Insert(head, data): if head is None: head = Node(data) return head else: head.next = Insert(head.next, data) return head
Insert a Node at the Tail of a Linked List
You are viewing a single comment's thread. Return to all comments →
python 3 recursion