Sift down heap helpokay, I've fixed that but for some reason, it fails to enter the [code]if (arr[parent] > arr[min)[/c...
Sift down heap helpsorry, heapSize should be equal to 4, not 3 in main. I edited the post
Sift down heap helpExample of what's in txt file: 2 4 5 1 7 output: [output] 1 2 5 4 7 2 7 ...
Sift down heap helpThanks, it looks much better now
Sift down heap helpI'm kinda on my wit's end with this bug. My intuition tells me it has something to do with how the m...