November 2018
Intermediate to advanced
310 pages
7h 54m
English
Before we continue with our new algorithm, we'll look at the naive algorithm from two perspectives. In an ideal case, the computational time complexity is O(log n), but this is only when we have a sufficient number of processors for our data set; when the cardinality (number of elements) of our dataset, n, is much larger than the number of processors, we have that this becomes an O(n log n) time algorithm.
Let's define a new concept with relation to our binary operator
—the work performed by a parallel algorithm here is the number of invocations of this operator across all threads for the duration ...
Read now
Unlock full access