Inefficient-Sorting-Algorithms

Testing around with the most ineffecient sorting algorithms.

Bogosort

  • Steps
    1. Check if list is sorted
    2. Randomly shuffle the list
    3. loop till the list gets sorted

Bozosort

  • Steps
    1. Check if list is sorted
    2. Randomly swap two elements in the list
    3. loop till the list gets sorted