diff options
-rw-r--r-- | 3.3.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -73,6 +73,7 @@ def solution2(l): ## Way too much memory, it's not even funny ## python is supposed to do list comprehension in a good way, lol +## adapted from https://oeis.org/A333885 def solution3(l): return len([(i, j, k) for id,i in enumerate(l) |