Stop fussing over log base two versus base ten. Big O ignores it completely.
From the Wikipedia articles "Big O notation" and "Time complexity"
Art: Kurisu Makise from Steins;Gate © MAGES. / Nitroplus. Art: Project Neural Cloud (demo only). Credits
Tap a stop to see what it covers
Concept 1 of 1
An algorithm runs in O(log n) time when each step halves the remaining search space. Searching a sorted dictionary by checking the middle entry and then one half is the example. The base of the logarithm does not matter in big O.
p. 6p. 19
Big O notation and time complexity (Wikipedia)
en.wikipedia.org/wiki/Big_O_notationLicense: CC BY-SA 4.0 (Wikipedia)
Every reel line that states a fact quotes this material with a page number. Tap the source button on any reel to read the quote.
From the Wikipedia articles "Big O notation" and "Time complexity" by Wikipedia contributors. CC BY-SA 4.0; these reels are shared under the same license.