The array is sorted when all the unsorted elements are placed at their correct positions. In each iteration, the comparison takes place up to the last unsorted element. The same process goes on for the remaining iterations.Īfter each iteration, the largest element among the unsorted elements is placed at the end.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |