Re:Is this the simplest (and most surprising) sorting algori...
by y4mi on Tuesday October 05, 2021 @01:33PM
(#28762671)
it doesnt work though
removing the break gets you the correct order: [1, 2, 3, 3, 4, 7, 7, 8, 9, 11, 12, 55, 88]
[ Parent
| on HN ]
Re:Is this the simplest (and most surprising) sorting algori...
by labawi on Tuesday October 05, 2021 @02:42PM
(#28763732)
Original code would be correct, if not for a few spaces - probably a typo.