April 2018
Intermediate to advanced
300 pages
7h 41m
English
A logarithm operation is the complete opposite of an exponential operation. The logarithm is a quantity representing the power to which a base number must be raised to produce a given number.
For example, 2x = 32, where x=5, can be represented as log2 32 =5.
In this case, the logarithm of above expression is 5 that represents the power of a fixed number 2 which is raised to produce a given number 32.
Consider a binary search algorithm that works more effectively by splitting the list of an item into two datasets and uses a specific dataset based on the number. For example, say that I have a list of different numbers sorted in ascending order:
{1, 5, 6, 10, 15, 17, 20, 42, 55, 60, 67, 80, 100}
Say that we want to find number