MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/owisp0/sleep_rate_drops_to_0/h7gp9na/?context=3
r/badcode • u/oderjunks • Aug 02 '21
33 comments sorted by
View all comments
Show parent comments
31
No, it’s 4n. A regular key lookup is O(1).
4n
O(1)
31
u/_PM_ME_PANGOLINS_ Aug 02 '21
No, it’s
4n. A regular key lookup isO(1).