You are viewing a single comment's thread. Return to all comments →
I think max() is better then sorted(list()). Sort is usually O(n log(n)) and can be better only in very specific cases, while max is O(n) always.
Seems like cookies are disabled on this browser, please enable them to open this website
Day 10: Binary Numbers
You are viewing a single comment's thread. Return to all comments →
I think max() is better then sorted(list()). Sort is usually O(n log(n)) and can be better only in very specific cases, while max is O(n) always.