c - How thread can be used to improve time complexity of a code? -


as per knowledge thread can reduce execution time,and can not reduce time complexity.

correct me if wrong.

suppose have doubly linklist,can use thread improve time complexity of search element random node ? simple search traverse next random node till end of list,and pre of random node till first node,can improve using thread,can in less o(n) time using thread.

no. example, using thread make twice fast (if implemented), 1/2 of o(n) still o(n).


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -