My Advent of Code solutions in Python. kevinyap.ca/2019/12/going-fast-in-advent-of-code/
advent-of-code python
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update starter file

+2
+2
2018/starter.py
··· 3 3 import re # NOQA 4 4 import math # NOQA 5 5 import fileinput 6 + from string import ascii_uppercase, ascii_lowercase # NOQA 6 7 from collections import Counter, defaultdict, deque, namedtuple # NOQA 7 8 from itertools import count, product, permutations, combinations, combinations_with_replacement # NOQA 8 9 9 10 from utils import parse_line, parse_nums, mul, all_unique, factors, memoize, primes # NOQA 10 11 from utils import new_table, transposed, rotated # NOQA 11 12 from utils import md5, sha256, knot_hash # NOQA 13 + from utils import VOWELS, CONSONANTS # NOQA 12 14 from utils import Point, DIRS, DIRS_4, DIRS_8 # NOQA 13 15 14 16 # Itertools Functions: