algorithms
algorithms copied to clipboard
Implement Bogo Sort in C
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!
Already added a Pr few hrs ago but let me solve this one too *!
@janak108 you must be assigned to any issue before you can start working on it.
Then can you assign this one for me ?
@sobhanbera can you assign this to me due to inactivity?