DEV Community

loading...

Discussion on: And then the interviewer asks, "Can you do this with less code?"

Collapse
michaelsolati profile image
Michael Solati Author

You're right, it's been a while since I've had to do time complexity, I'll update it.

Collapse
cullylarson profile image
Cully Larson • Edited

I had to double-check myself that n log(n) is higher order than n :)

Forem Open with the Forem app