We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e60d1d commit 6b37581Copy full SHA for 6b37581
graphs/dijkstra_algorithm.py
@@ -52,25 +52,16 @@ def min_heapify(self, idx):
52
53
>>> priority_queue_test.array = [(5, 'A'), (10, 'B'), (15, 'C')]
54
>>> priority_queue_test.min_heapify(0)
55
- Traceback (most recent call last):
56
- ...
57
- TypeError: 'list' object is not callable
58
>>> priority_queue_test.array
59
[(5, 'A'), (10, 'B'), (15, 'C')]
60
61
>>> priority_queue_test.array = [(10, 'A'), (5, 'B'), (15, 'C')]
62
63
64
65
66
67
[(10, 'A'), (5, 'B'), (15, 'C')]
68
69
>>> priority_queue_test.array = [(10, 'A'), (15, 'B'), (5, 'C')]
70
71
72
73
74
75
[(10, 'A'), (15, 'B'), (5, 'C')]
76
0 commit comments