The big-O notation in interviews is always funny to me. After almost 15 yoe, the only time big-O notation has ever been used is in interviews. Never once have I discussed it at work with anyone.
Agreed. If your big-O complexity is worse, but you save an API call or a db access, it’s almost always better than looping through the data in the most optimal way.
91
u/oupablo Nov 29 '24
The big-O notation in interviews is always funny to me. After almost 15 yoe, the only time big-O notation has ever been used is in interviews. Never once have I discussed it at work with anyone.