March 2020
Intermediate to advanced
406 pages
8h 39m
English
Algorithms written in quasilinear (or log-linear) time are often used to order values within an array in Go.
Some examples of quasilinear time are as follows:
The normalized timings for quasilinear time can be found in the following table:
|
Number of items in the dataset |
Resulting computation time |
|
10 |
10 seconds |
|
100 |
200 seconds |
|
1,000 |
3,000 seconds |
You'll see a familiar pattern here. This algorithm follows a pattern that's similar to the O(log n) algorithm. The only thing that changes here is the ...
Read now
Unlock full access