Broken sort #11

Open
opened 2017-10-29 04:56:47 -04:00 by highcliff · 0 comments
highcliff commented 2017-10-29 04:56:47 -04:00 (Migrated from github.com)

re: RosettaCodeData/Task/Sorting-algorithms-Heapsort/Pascal/sorting-algorithms-heapsort.pascal

Initialise the array to these values:
data: TIntArray = (11, 9, 4, 7, 13, 10, 6, 6, 12, 10, 7, 7);
and this is the result:

The data before sorting:
11 9 4 7 13 10 6 6 12 10 7 7
The data after sorting:
4 6 6 7 7 7 9 10 12 10 11 13

Does that look right to you?!

re: RosettaCodeData/Task/Sorting-algorithms-Heapsort/Pascal/sorting-algorithms-heapsort.pascal Initialise the array to these values: data: TIntArray = (11, 9, 4, 7, 13, 10, 6, 6, 12, 10, 7, 7); and this is the result: The data before sorting: 11 9 4 7 13 10 6 6 12 10 7 7 The data after sorting: 4 6 6 7 7 7 9 10 12 10 11 13 Does that look right to you?!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: aparler/RosettaCodeData#11
No description provided.