top | item 41816209

(no title)

eadwu | 1 year ago

If you are the type of person who writes a big brain log(n) solution instead of n solution when there is no real reason (compute wise) and the log(n) is a pain in the ass to maintain.

I hope I never see you in my team.

discuss

order

slashdave|1 year ago

There is a lot to say about this. Due to technical limitations, the Leetcode site uses odd corner cases in their test suite to guide practitioners to specific, bespoke solutions. It's kind of insidious.

beaconify|1 year ago

Yes! Just say give me o(log(n)) dollars! Ah now you care about n and k.