×
Home Discussions Write at Opengenus IQ
×
  • Home
  • 😊 Join our Internship 🎓
  • Machine Learning 🤖
  • Algorithms
  • Data Structures
  • Learn C++
  • Markdown guide

sleep sort

A collection of 1 post

algorithm

Sleep Sort

Sleep Sort is time-based sorting technique. We create different threads for each individual element present in the array. The thread is then made to sleep for an amount of time that is equal to value of the element for which it was created. Time complexity is O(NlogN + max(input))

Lakshmi Angadi Lakshmi Angadi
×
OpenGenus community button

Visit our discussion forum to ask any question and join our community

View Forum
OpenGenus IQ: Learn Computer Science © 2019 All rights reserved â„¢
Top Posts Facebook Twitter