(linkedlist, number)
| 98 | |
| 99 | # Helper funtion to pad the list with zeros in front |
| 100 | def padInFront(linkedlist, number): |
| 101 | padlist = LinkedList() |
| 102 | padlist.head = linkedlist.head |
| 103 | for i in range(number): |
| 104 | addNodeInFront(padlist, 0) |
| 105 | return padlist |
| 106 | |
| 107 | |
| 108 |
no test coverage detected