(self)
| 17 | self.head = new_node |
| 18 | |
| 19 | def printLL(self) -> None: |
| 20 | temp = self.head |
| 21 | if temp == None: |
| 22 | return "Linked List is empty" |
| 23 | while temp.next: |
| 24 | print(temp.data, "->", end="") |
| 25 | temp = temp.next |
| 26 | print(temp.data) |
| 27 | return |
| 28 | |
| 29 | |
| 30 | # Merge two sorted linked lists |
no outgoing calls
no test coverage detected