Repo containing my solutions for Advent of Code 2020 URL.
Trying to do all questions in R, using vectorisation as far as possible.
| Day | Readme | R Solution | Problem summary |
|---|---|---|---|
| 01 | Readme | Solution | which nums sum to 2020 |
| 02 | Readme | Solution | passports in form of > num1-num2 char: password. Which are valid |
| 03 | Readme | Solution | Grid with trees (#). How many hit when travelling from top to bottom with different step sizes |
| 04 | Readme | Solution | Passport data with key:value format, and field validity criteria. |
| 05 | Readme | Solution | Find your seat in airplane (binary nums) |
| 06 | Readme | Solution | Surveys answered by groups (questions a-z). |
| 07 | Readme | Solution | bags within bags (shiny gold) |
| 08 | Readme | Solution | game console stuck in infinite bootloop |
| 09 | Readme | Solution | every num in list is sum of any two previous 25 nums. |
| 10 | Readme | Solution | Many Voltage adapters |
| 11 | Readme | Solution | Hall seating (game of life) |
| 12 | Readme | Solution | move ship and waypoint |
| 13 | Readme | Solution | buses departing (CRT) |
| 14 | Readme | Solution | memory addresses (floating bit address, generate many) |
| 15 | Readme | Solution | Van eck Sequence |
| 16 | Readme | Solution | tickets with field. Find which field is which |
| 17 | Readme | Solution | 3D and 4D game of life |
| 18 | Readme | Solution | evaluate infix expressions with different operator precedence |
| 19 | Readme | Solution | rules parsing (Context Free Grammar) |
| 20 | Readme | Solution | JIGSAW PUZZLE!! |
| 21 | Readme | Solution | Ingredients and allergens |
| 22 | Readme | Solution | crab combat card game (recursive sub-games) |
| 23 | Readme | Solution | crab rotating cups (10 million rounds) |
| 24 | Readme | Solution | Game of life with hexagonal grid |
| 25 | Readme | Solution | Encryption |