Skip to content

Commit

Permalink
Colorize heapsort
Browse files Browse the repository at this point in the history
  • Loading branch information
Eckankar committed May 15, 2010
1 parent 6142b16 commit fad3896
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Algorithms/HeapSort.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def sort(self):
yield
for i in range(len(self.items.items) - 1, 0, -1):
self.items.swap(0, i)
self.markers.addMarker(False, i, (0, 255, 0))
yield
for x in self.maxHeapify(0, i):
yield
Expand Down

0 comments on commit fad3896

Please sign in to comment.