Skip to content

Bogosort is a sorting algorithm. Get a list and randomise it. Is the list sorted? Great, you're done! If not, repeat.

Notifications You must be signed in to change notification settings

callumdisney/bogosort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Bogosort

What?

Bogosort is a sorting algorithm. Get a list and randomise it. Is the list sorted? Great, you're done! If not, repeat.

Why?

I originally found out about this sorting algorithm from a Tom Scott video. I thought it would be fun to create it in Python. So I did. It was alright.

More?

I am in the process of adding a timer to show how long it takes to sort the list. I am also adding error handling, and avoidance of repeats in random lists.

About

Bogosort is a sorting algorithm. Get a list and randomise it. Is the list sorted? Great, you're done! If not, repeat.

Resources

Stars

Watchers

Forks

Languages