Java icon indicating copy to clipboard operation
Java copied to clipboard

[FEATURE REQUEST] Sleep Sort Algorithm

Open pankaj-bind opened this issue 9 months ago • 1 comments

What would you like to Propose?

Sleep sort is a unique sorting algorithm that utilizes sleep functions to achieve sorting. The basic idea behind the algorithm is to assign each element in the list to a separate thread. Each thread then sleeps for an amount of time proportional to the value of the element it is assigned. Once all threads have finished sleeping, the elements are sorted in ascending order based on the time they took to sleep.

Issue details

Algorithm Description: Provide a clear and concise explanation of the Sleep Sort algorithm. Implementation: Implement the Sleep Sort algorithm in the programming language of your choice. Testing: Develop test cases to ensure the correctness of the implementation. Documentation: Document the code and algorithm to facilitate understanding for future developers.

Additional Information

Sleep sort is not suitable for practical use due to its inefficiency and unpredictability. It's mainly used for educational and entertainment purposes.

pankaj-bind avatar May 02 '24 11:05 pankaj-bind

assign me

pankaj-bind avatar May 02 '24 11:05 pankaj-bind

hey, @pankaj-bind if you are not working on it, can it be assigned to me?

SAIVARDHAN15 avatar May 29 '24 09:05 SAIVARDHAN15

hey, @pankaj-bind if you are not working on it, can it be assigned to me?

it is not yet assigned

pankaj-bind avatar May 29 '24 11:05 pankaj-bind

Hi @pankaj-bind , I hope this message finds you well. I wanted to check in and see if the issue you mentioned is still open. If it is, please feel free to assign it to me, and I'll be happy to assist. Thank you, Varsha

VarshaUN avatar Jun 28 '24 14:06 VarshaUN

Hi @yanglbme I have raised a PR for this ,could you check

aishuarya avatar Jul 12 '24 08:07 aishuarya

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution!

github-actions[bot] avatar Aug 12 '24 00:08 github-actions[bot]

Please reopen this issue once you have made the required changes. If you need help, feel free to ask in our Discord server or ping one of the maintainers here. Thank you for your contribution!

github-actions[bot] avatar Aug 20 '24 00:08 github-actions[bot]