8
Last seen 7 years ago
Member for 7 years, 9 months, 20 days
Difficulty Normal
similar, also used sets but other comparing. After trying with yours: Seems u don't need set() in the issubset argument.
More
import numpy wasn't that great after all.
This is a mission I'll like to do another time again.
Let's collect more knowledge first :)
More
Wow, that looks clear. Beautiful! I'm so sorry to not understand the whole operation yet.
More
hello
have another question compared to this version
return 0 if not args else max(args) - min(args)
supposing there where a ton of data to process, are there any differences in speed?
By typing I thought that may be faster, just by guts. Don't know. appreciate any pros insight.
More
cool. using the index, awesome.
really super. only the "implication" operation is like not the best, is it.
More
very compact and for me it's totally readable. I wish I'd figured it out solid like this.
More
the defender's list comprehension is great. dang, this time I was probably just lazy to not think further. Python is such a beauty for shortcuts.
More
I like how clean and tidy your code is. This is the kind of code I should dream of.
More