|
|
|
|
|
by fiddlerwoaroof
202 days ago
|
|
But how the data got sorted is irrelevant to the speed of the algorithm: for example, you could use binary search as part of an algorithm to find the insertion point of a new element in an always sorted data structure, meaning that sorting the data is never necessary. |
|