-
A logarithm is the exponent to which a base number must be raised to equal a given number.
-
A log2N algorithm, seen in line B on the Order of Algorithms graph, is one where the number of steps increases as a function of log2N. If the number of data was 1024, the number of steps equals log21024, or 10 steps since 210 = 1024.
-
Algorithms in this category involve splitting the data set in half repeatedly. Several examples will be encountered later in the course.
-
Algorithms that fit in this category are classed as O(log N), regardless of the numerical base used in the analysis.