The Bucket List Solution


How is the time O(N) like shouldn’t it have something to do with the like time or something?

What do you mean by this?

It would be more accurate to say the solution runs in O(N+T) where T is the max time.

1 Like