sir said that Log(10^18) = 18 because base is 10
is time complexity calculated in base 10 always
in this course ???
Heaps 02 - motivation for priorty queue
Time complexity is calculated in base 2, but the thing is whether we calculate in base 10 or base 2, the difference in time complexity is not that much even for 10^18, for base 2 the time complexity will be ~60 and for base 10 it is 18. According to the perspective of time complexity this difference is not much, so we take it to just get a rough idea
ohh
thank u …
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.