A sorting technique was applied to the following data set 44, 11, 66,33,55,99 After two passes the rearrangement of the data set is as follows 11, 33, 66, 44, 55, 99. Identify the sorting method used and find the arrangement of the data set after the arrangement of the data set after the third pass.
The sorting method is selection sort;
The third pass is: 11, 33, 44, 66, 55, 99
Comments
Leave a comment