Bohlen_lab7

Bohlen_lab7 - The new sorted array is as follows, 1, 2, 3,...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
The array to be sorted was as follows; 1 3 5 7 9 2 4 6 8 The total number of swaps performed was 10 The new sorted array is as follows, 1, 2, 3, 4, 5, 6, 7, 8, 9 The array to be sorted was as follows; 9 8 7 6 5 4 3 2 1 The total number of swaps performed was 36
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: The new sorted array is as follows, 1, 2, 3, 4, 5, 6, 7, 8, 9 The array to be sorted was as follows; 1 3 4 6 2 7 5 9 8 The total number of swaps performed was 6 The new sorted array is as follows, 1, 2, 3, 4, 5, 6, 7, 8, 9,...
View Full Document

Ask a homework question - tutors are online