Variable largest of d-ARY-MAX-HEAPIFY procedure is now treated as a heap element index inside for-loop rather than the element itself, like it does outside the loop.
Move misplaced square bracket in d-ARY-MAX-HEAP-INSERT and d-ARY-INCREASE-KEY procedures.
Changes:
largest
ofd-ARY-MAX-HEAPIFY
procedure is now treated as a heap element index inside for-loop rather than the element itself, like it does outside the loop.d-ARY-MAX-HEAP-INSERT
andd-ARY-INCREASE-KEY
procedures.