loading...

re: And then the interviewer asks, "Can you do this with less code?" VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Great idea for an article. It's a good reminder that interviewers may want to drill down into a question. Just FYI, the original function is O(n lo...
 

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

 

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

code of conduct - report abuse