Project is asking you to implement a search method that returns the index of the needle found first over all search threads. If the index not found, null should be returned. Importantly, you should stop all the threads as soon as a needle is found, so as to minimize the search time. The signature for this new search method should look as follows:
static <T> int search(T needle,T haystack,int numThreads)
details will be given if you interested.
13 威客就此工作平均出价 $25
19 years' industry experience, primarily working in Java and related technologies. High quality, fully tested and documented code. Multithreaded applications a specialty. Native English speaker.
Hi there! Hope you are doing well :) Allow me to complete this task. It will take a couple of hours to complete the work. Please PM the details so i can start my work right away