Searching for an element in an unsorted array of N elements takes time?
Answers
Answered by
1
Explanation:
Make it parallel. Divide the array in chunks and search in parallel. The complexity will be O(n) but running time will be much less.
Similar questions