Skip to content
Search Algorithm inspired by the infamous BogoSort
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
bogoSearch.py

README.md

BogoSearch

Search Algorithm inspired by the infamous BogoSort

BogoSort Running

Way it works

  • Select a random number (let's call it x) between 0 and len of list
  • Get element at position x in the list (let's call it k)
  • Check if element we are searching for is equal to k
  • IF TRUE - Return position of element(x) and additional data
  • IF FALSE - Repeat steps
You can’t perform that action at this time.