Bogosort works by __________
(a) generating random permutations of its input
(b) partitioning the array
(c) dividing the value of input elements
(d) generating permutations according to the value of first element of array
The question was asked in examination.
The query is from Sorting in section Sorting of Data Structures & Algorithms II