summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--3.3.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/3.3.py b/3.3.py
index 663d6f1..faa3474 100644
--- a/3.3.py
+++ b/3.3.py
@@ -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)