This repository contains a visualized and multithreaded implementation of the Bogosort algorithm in C#.
- Check if the array is sorted, terminate if so.
- If the array is not sorted, randomly permute its elements.
- Return to the first step and repeat until the array is sorted.
Average | Best | Worst | Space |
---|---|---|---|
Ø(n*n!) | Ω(n) | unbounded | O(1) |
This project is licensed under the GNU General Public License v3.0 (GPLv3).