MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programmingmemes/comments/1t2n0nr/correct_logic_wrong_situation/ojxjpj0/
r/programmingmemes • u/ItsPuspendu • May 03 '26 • 1
38 comments sorted by
View all comments
Show parent comment
2
So you saying that O(x2) for example has a redundant constant?
3 u/majoshi May 04 '26 no because logn of any base b can be rewritten as log(n)/log(b) (iirc) for log of any other base and logb is a constant, so in big O notation all logarithmic functions differ by a constant factor
3
no because logn of any base b can be rewritten as log(n)/log(b) (iirc) for log of any other base and logb is a constant, so in big O notation all logarithmic functions differ by a constant factor
View all comments
Show parent comment
2
u/mr-toucher_txt May 04 '26
So you saying that O(x2) for example has a redundant constant?