Advent of Code: 2020 Day 06 solutions

Nille
3 min readDec 6, 2020

⚠️ SPOILER ALERT ⚠️
This is a post with my solutions and learning from the puzzle. Don’t continue reading if you haven’t tried the puzzle on your own yet.

If you want to do the puzzle, visit adventofcode.com/2020/day/6.

My programming language of choice is python and all examples below are in python.

Key learning

  • Sets and dictionaries

This puzzle teaches us how to counting unique elements in lists.

--

--

Nille
0 Followers

Full-stack developer in Stockholm working at Sana Labs. Python, Javascript, AdventOfCode <3