VISUALGO//SORT
reshuffle-until-lucky · sorting trace console · O((n+1)!)
● UNSORTED   ● SORTED
Goal:Rearrange all elements in ascending order using bogo sort.
8
5
7
2
4
6
1
3
ELEMENTS
READOUT
attempts0
odds / shuffle1 / 40,320
statusIDLE