You are viewing a single comment's thread. Return to all comments →
Careful, I suck at doing big O notation in my head but isn't that possibly O2(n) since you're computing max twice in the case that it's less than?
Seems like cookies are disabled on this browser, please enable them to open this website
The Hurdle Race
You are viewing a single comment's thread. Return to all comments →
Careful, I suck at doing big O notation in my head but isn't that possibly O2(n) since you're computing max twice in the case that it's less than?