MCPcopy Create free account
hub / github.com/geekcomputers/Python / print_list

Method print_list

Sorting Algorithims/heapsort_linkedlist.py:16–21  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

14 self.head = new_node
15
16 def print_list(self):
17 current = self.head
18 while current:
19 print(current.data, end=" -> ")
20 current = current.next
21 print("None")
22
23 def heapify(self, n, i):
24 largest = i

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected