algorithms icon indicating copy to clipboard operation
algorithms copied to clipboard

Implement Bogo Sort in C

Open sobhanbera opened this issue 2 years ago • 4 comments

Issue Description

Algorithm/Data Structure: Bogo Sort Programming Language: C Difficulty: ⭐️⭐️⭐️

Description

Bogo Sort is a highly inefficient sorting algorithm that serves as an excellent educational tool. It randomly shuffles an array until it becomes sorted. Your task is to implement the Bogo Sort algorithm in C.

Requirements

  • Create a C program that sorts an array using the Bogo Sort algorithm.
  • Your program should accept an array of integers as input.
  • Implement the Bogo Sort algorithm to shuffle the array until it is sorted.
  • Make sure to include comments to explain the code's functionality.

Additional Information

  • You can find a detailed description of the Bogo Sort algorithm here.
  • You are encouraged to optimize and improve the efficiency of the algorithm, although the primary goal is educational.

Feel free to ask if you need any further details or assistance with this issue. Happy coding!

sobhanbera avatar Oct 01 '23 11:10 sobhanbera

Already added a Pr few hrs ago but let me solve this one too *!

neoman1221 avatar Oct 01 '23 16:10 neoman1221

@janak108 you must be assigned to any issue before you can start working on it.

sobhanbera avatar Oct 01 '23 20:10 sobhanbera

Then can you assign this one for me ?

neoman1221 avatar Oct 01 '23 23:10 neoman1221

@sobhanbera can you assign this to me due to inactivity?

ChiragAgg5k avatar Oct 19 '23 04:10 ChiragAgg5k