3
I have some questions about this complexity, which base is used in this logarithm, 2 or 10? and why? Searching Google I saw some comments saying that the base didn’t matter.. The logarithm is deeply connected to this complexity or is it used only to give an idea of how little complexity grows as n
increases?
Last question, knowing only that while n
grows exponentially, the search grows only linearly, would be enough to understand all other cases of complexity involving logarithm?
Possible duplicate of Definition of the notation "Big O"
– Sveen