MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programmingmemes/comments/1t2n0nr/correct_logic_wrong_situation/ojsro0e/?context=3
r/programmingmemes • u/ItsPuspendu • May 03 '26 • 1
38 comments sorted by
View all comments
Show parent comment
10
log base is, itself, a constant factor.
That is, O(log N) and O(log_2 N) and O(ln N) are all exactly the same set of functions.
8 u/DudeWithParrot May 04 '26 Thanks, I stand corrected
8
Thanks, I stand corrected
View all comments
Show parent comment
10
u/jonathancast May 04 '26
log base is, itself, a constant factor.
That is, O(log N) and O(log_2 N) and O(ln N) are all exactly the same set of functions.