Selection sort: Difference between revisions

Content deleted Content added
m Reverted edit by Chinemeremprince (talk) to last version by MrOllie
Example: list in [ ] instead of ( )
Tag: Reverted
Line 27:
! Least element in unsorted list
|-
| ()[ ]
| style="text-align:right;" | ([11, 25, 12, 22, 64)]
| 11
|-
| ([11)]
| style="text-align:right;" |( [25, 12, 22, 64)]
| 12
|-
| ([11, 12)]
| style="text-align:right;" |( [25, 22, 64)]
| 22
|-
| ([11, 12, 22)]
| style="text-align:right;" |( [25, 64)]
| 25
|-
| ([11, 12, 22, 25)]
| style="text-align:right;" |( [64)]
| 64
|-
| ([11, 12, 22, 25, 64)]
| style="text-align:right;" |() [ ]
|
|}