Sleep sort code cannot compile online because ___________

Mỹ Duyên

New member
Sleep sort code cannot compile online because ___________
A. it has very high time complexity
B. it has very high space complexity
C. it requires multithreading process
D. online compilers are not efficient
 
Answer: c
Explanation: Sleep sort requires multithreading process for making the elements to sleep. This process happens in the background at the core of the OS and so cannot be compiled on an online compiler.
 

Tìm kiếm

Back
Top