We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Its always good to see List Comprehensions. But don't you think this will increase overall runtime ? I mean you are creating a new list and then finding the max. of it!
Find the Runner-Up Score!
You are viewing a single comment's thread. Return to all comments →
Nice, I didn't think of the set function. Here is my aproach:
This is very interesing solution
Its always good to see List Comprehensions. But don't you think this will increase overall runtime ? I mean you are creating a new list and then finding the max. of it!
Nice! Here's an even shorter version using your approach: