Skip to content

Commit 1f76bff

Browse files
committed
Update tags page
1 parent 0f3eb8f commit 1f76bff

File tree

13 files changed

+99
-154
lines changed

13 files changed

+99
-154
lines changed

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ To make the experience boilerplate-free and give all solutions uniform (more or
1717

1818
To solve the problem for a particular year/day, type in `mix solve --year <year> --day <day>` or `mix solve <year> <day>` and you will see the result of the mentioned `year/day` if it is valid and has been solved. Type `mix help solve` for more.
1919

20+
## Introducing a new year
21+
22+
During December 1 of a new year (if Advent of Code is happening that year), the following steps should be taken (this should be more streamlined in future):
23+
24+
* Create a new folder `XXXX` (in year format) under `/lib` or `/test`
25+
* Update the `@latest_year` attribute on `advent_of_code.ex`
26+
* Double check your session cookie (in case you're using it)
27+
28+
All commands should work from then on.
29+
2030
## Testing
2131

2232
run `mix test` to ensure all solutions are working okay. To run test for a particular year and day, type `mix test --only y<last-two-digits-of-year><zero-padded-day>`. For example: `mix test --only y1501` tests for `2015` as year and `1` as day.
@@ -35,6 +45,7 @@ The stats, both in `<year>/README.md` and the bottom part of `README.md` are aut
3545
Note that you can call those commands independently and also set up pre-commit hooks to run it for you.
3646

3747
## Pages
48+
3849
* [tags.md](/tags.md) contains information about tags, a loose attempt to have an idea of nature (i.e. algorithms, output type, input size etc) of puzzles
3950
* [difficulties.md](/difficulties.md) contains information about relative difficulties, marked with :snowflake: (higher number of icons represent higher difficulty)
4051
* Each year has its own `README.md` to have summarized information of that year. Those pages are:

difficulties.md

+17-17
Large diffs are not rendered by default.

lib/2015/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
| Day | Problem Page | Status | Difficulty | Solution Page | Test Page | Tags |
1212
| :---: | :------: | :---: | :---: | :---: | :---: | :---: |
13-
| 1 | [Not Quite Lisp](https://adventofcode.com/2015/day/1) | :1st_place_medal: | :snowflake: | [day_01.ex](/lib/2015/day_01.ex) | [day_01_test.exs](/test/2015/day_01_test.exs) | [sequential](/tags.md#sequential) |
14-
| 2 | [I Was Told There Would Be No Math](https://adventofcode.com/2015/day/2) | :1st_place_medal: | :snowflake: | [day_02.ex](/lib/2015/day_02.ex) | [day_02_test.exs](/test/2015/day_02_test.exs) | [geometry2D](/tags.md#geometry2D) |
13+
| 1 | [Not Quite Lisp](https://adventofcode.com/2015/day/1) | :1st_place_medal: | :snowflake: | [day_01.ex](/lib/2015/day_01.ex) | [day_01_test.exs](/test/2015/day_01_test.exs) | [sequence](/tags.md#sequence) |
14+
| 2 | [I Was Told There Would Be No Math](https://adventofcode.com/2015/day/2) | :1st_place_medal: | :snowflake: | [day_02.ex](/lib/2015/day_02.ex) | [day_02_test.exs](/test/2015/day_02_test.exs) | [geometry2d](/tags.md#geometry2d) |
1515
| 3 | [Perfectly Spherical Houses in a Vacuum](https://adventofcode.com/2015/day/3) | :1st_place_medal: | :snowflake: | [day_03.ex](/lib/2015/day_03.ex) | [day_03_test.exs](/test/2015/day_03_test.exs) | [grid-walk](/tags.md#grid-walk), [set](/tags.md#set) |
1616
| 4 | [The Ideal Stocking Stuffer](https://adventofcode.com/2015/day/4) | :1st_place_medal: | :snowflake: :snowflake: | [day_04.ex](/lib/2015/day_04.ex) | [day_04_test.exs](/test/2015/day_04_test.exs) | [md5](/tags.md#md5), [annoying](/tags.md#annoying) |
1717
| 5 | [Doesn't He Have Intern-Elves For This?](https://adventofcode.com/2015/day/5) | :1st_place_medal: | :snowflake: | [day_05.ex](/lib/2015/day_05.ex) | [day_05_test.exs](/test/2015/day_05_test.exs) | [string](/tags.md#string) |
@@ -22,13 +22,13 @@
2222
| 10 | [Elves Look, Elves Say](https://adventofcode.com/2015/day/10) | :1st_place_medal: | :snowflake: | [day_10.ex](/lib/2015/day_10.ex) | [day_10_test.exs](/test/2015/day_10_test.exs) | [string-encoding](/tags.md#string-encoding), [sequence](/tags.md#sequence), [reduction](/tags.md#reduction) |
2323
| 11 | [Corporate Policy](https://adventofcode.com/2015/day/11) | :1st_place_medal: | :snowflake: | [day_11.ex](/lib/2015/day_11.ex) | [day_11_test.exs](/test/2015/day_11_test.exs) | [sequence](/tags.md#sequence), [char-sequence](/tags.md#char-sequence), [validation](/tags.md#validation) |
2424
| 12 | [JSAbacusFramework.io](https://adventofcode.com/2015/day/12) | :1st_place_medal: | :snowflake: | [day_12.ex](/lib/2015/day_12.ex) | [day_12_test.exs](/test/2015/day_12_test.exs) | [json](/tags.md#json), [parsing](/tags.md#parsing) |
25-
| 13 | [Knights of the Dinner Table](https://adventofcode.com/2015/day/13) | :1st_place_medal: | :snowflake: :snowflake: | [day_13.ex](/lib/2015/day_13.ex) | [day_13_test.exs](/test/2015/day_13_test.exs) | [brute-force](/tags.md#brute-force), [permutations](/tags.md#permutations), [slow](/tags.md#slow) |
26-
| 14 | [Reindeer Olympics](https://adventofcode.com/2015/day/14) | :1st_place_medal: | :snowflake: :snowflake: | [day_14.ex](/lib/2015/day_14.ex) | [day_14_test.exs](/test/2015/day_14_test.exs) | [speed-math](/tags.md#speed-math), [recursion](/tags.md#recursion), [sequence](/tags.md#sequence) |
25+
| 13 | [Knights of the Dinner Table](https://adventofcode.com/2015/day/13) | :1st_place_medal: | :snowflake: :snowflake: | [day_13.ex](/lib/2015/day_13.ex) | [day_13_test.exs](/test/2015/day_13_test.exs) | [brute-force](/tags.md#brute-force), [combinatorics](/tags.md#combinatorics), [slow](/tags.md#slow) |
26+
| 14 | [Reindeer Olympics](https://adventofcode.com/2015/day/14) | :1st_place_medal: | :snowflake: :snowflake: | [day_14.ex](/lib/2015/day_14.ex) | [day_14_test.exs](/test/2015/day_14_test.exs) | [measurement](/tags.md#measurement), [recursion](/tags.md#recursion), [sequence](/tags.md#sequence) |
2727
| 15 | [Science for Hungry People](https://adventofcode.com/2015/day/15) | :1st_place_medal: | :snowflake: :snowflake: :snowflake: | [day_15.ex](/lib/2015/day_15.ex) | [day_15_test.exs](/test/2015/day_15_test.exs) | [quadratic-time](/tags.md#quadratic-time), [not-fast-enough](/tags.md#not-fast-enough), [sequence](/tags.md#sequence), [revisit](/tags.md#revisit) |
2828
| 16 | [Aunt Sue](https://adventofcode.com/2015/day/16) | :1st_place_medal: | :snowflake: :snowflake: :snowflake: | [day_16.ex](/lib/2015/day_16.ex) | [day_16_test.exs](/test/2015/day_16_test.exs) | [hard-description](/tags.md#hard-description), [count](/tags.md#count) |
2929
| 17 | [No Such Thing as Too Much](https://adventofcode.com/2015/day/17) | :1st_place_medal: | :snowflake: :snowflake: | [day_17.ex](/lib/2015/day_17.ex) | [day_17_test.exs](/test/2015/day_17_test.exs) | [not-fast-enough](/tags.md#not-fast-enough), [combinatorics](/tags.md#combinatorics) |
3030
| 18 | [Like a GIF For Your Yard](https://adventofcode.com/2015/day/18) | :1st_place_medal: | :snowflake: :snowflake: :snowflake: | [day_18.ex](/lib/2015/day_18.ex) | [day_18_test.exs](/test/2015/day_18_test.exs) | [grid](/tags.md#grid), [map](/tags.md#map), [bounded-box](/tags.md#bounded-box), [not-fast-enough](/tags.md#not-fast-enough) |
31-
| 19 | [Medicine for Rudolph](https://adventofcode.com/2015/day/19) | :1st_place_medal: | :snowflake: :snowflake: :snowflake: | [day_19.ex](/lib/2015/day_19.ex) | [day_19_test.exs](/test/2015/day_19_test.exs) | [not-fast-enough](/tags.md#not-fast-enough), [revisit](/tags.md#revisit), [vector](/tags.md#vector), [random-access-list](/tags.md#random-access-list) |
31+
| 19 | [Medicine for Rudolph](https://adventofcode.com/2015/day/19) | :1st_place_medal: | :snowflake: :snowflake: :snowflake: | [day_19.ex](/lib/2015/day_19.ex) | [day_19_test.exs](/test/2015/day_19_test.exs) | [not-fast-enough](/tags.md#not-fast-enough), [revisit](/tags.md#revisit), [vector](/tags.md#vector), [random-access](/tags.md#random-access) |
3232
| 20 | [Infinite Elves and Infinite Houses](https://adventofcode.com/2015/day/20) | :1st_place_medal: | :snowflake: :snowflake: :snowflake: :snowflake: | [day_20.ex](/lib/2015/day_20.ex) | [day_20_test.exs](/test/2015/day_20_test.exs) | [slow](/tags.md#slow), [infinite-sequence](/tags.md#infinite-sequence), [sequence](/tags.md#sequence) |
3333
| 21 | [RPG Simulator 20XX](https://adventofcode.com/2015/day/21) | :1st_place_medal: | :snowflake: :snowflake: :snowflake: :snowflake: | [day_21.ex](/lib/2015/day_21.ex) | [day_21_test.exs](/test/2015/day_21_test.exs) | [double-parse](/tags.md#double-parse), [data-modelling](/tags.md#data-modelling), [combinatorics](/tags.md#combinatorics), [strategy](/tags.md#strategy) |
3434
| 23 | [Opening the Turing Lock](https://adventofcode.com/2015/day/23) | :1st_place_medal: | :snowflake: :snowflake: :snowflake: | [day_23.ex](/lib/2015/day_23.ex) | [day_23_test.exs](/test/2015/day_23_test.exs) | [op-code](/tags.md#op-code), [emulation](/tags.md#emulation) |

lib/2015/day_14.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ defmodule AdventOfCode.Y2015.Day14 do
33
--- Day 14: Reindeer Olympics ---
44
Problem Link: https://adventofcode.com/2015/day/14
55
Difficulty: s
6-
Tags: speed-math recursion sequence
6+
Tags: measurement recursion sequence
77
"""
88
alias AdventOfCode.Helpers.{InputReader, Transformers}
99

lib/2018/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
| 3 | [No Matter How You Slice It](https://adventofcode.com/2018/day/3) | :1st_place_medal: | :snowflake: :snowflake: :snowflake: | [day_03.ex](/lib/2018/day_03.ex) | [day_03_test.exs](/test/2018/day_03_test.exs) | [grid](/tags.md#grid), [set](/tags.md#set), [not-fast-enough](/tags.md#not-fast-enough) |
1616
| 4 | [Repose Record](https://adventofcode.com/2018/day/4) | :1st_place_medal: | :snowflake: :snowflake: | [day_04.ex](/lib/2018/day_04.ex) | [day_04_test.exs](/test/2018/day_04_test.exs) | [date-time](/tags.md#date-time), [sequence](/tags.md#sequence), [sort](/tags.md#sort), [map](/tags.md#map) |
1717
| 5 | [Alchemical Reduction](https://adventofcode.com/2018/day/5) | :1st_place_medal: | :snowflake: :snowflake: :snowflake: :snowflake: | [day_05.ex](/lib/2018/day_05.ex) | [day_05_test.exs](/test/2018/day_05_test.exs) | [reduction](/tags.md#reduction), [simulation](/tags.md#simulation) |
18-
| 6 | [Chronal Coordinates](https://adventofcode.com/2018/day/6) | :1st_place_medal: | :snowflake: :snowflake: | [day_06.ex](/lib/2018/day_06.ex) | [day_06_test.exs](/test/2018/day_06_test.exs) | [not-fast-enough](/tags.md#not-fast-enough), [grid](/tags.md#grid), [distance](/tags.md#distance), [bounded-box](/tags.md#bounded-box) |
18+
| 6 | [Chronal Coordinates](https://adventofcode.com/2018/day/6) | :1st_place_medal: | :snowflake: :snowflake: | [day_06.ex](/lib/2018/day_06.ex) | [day_06_test.exs](/test/2018/day_06_test.exs) | [not-fast-enough](/tags.md#not-fast-enough), [grid](/tags.md#grid), [measurement](/tags.md#measurement), [bounded-box](/tags.md#bounded-box) |
1919
| 8 | [Memory Maneuver](https://adventofcode.com/2018/day/8) | :2nd_place_medal: | :snowflake: :snowflake: :snowflake: :snowflake: | [day_08.ex](/lib/2018/day_08.ex) | [day_08_test.exs](/test/2018/day_08_test.exs) | [sequence](/tags.md#sequence), [walk](/tags.md#walk) |
2020
| 9 | [Marble Mania](https://adventofcode.com/2018/day/9) | :1st_place_medal: | :snowflake: :snowflake: | [day_09.ex](/lib/2018/day_09.ex) | [day_09_test.exs](/test/2018/day_09_test.exs) | [not-fast-enough](/tags.md#not-fast-enough), [circular-linked-list](/tags.md#circular-linked-list) |
2121

lib/2019/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
| :---: | :------: | :---: | :---: | :---: | :---: | :---: |
1313
| 1 | [The Tyranny of the Rocket Equation](https://adventofcode.com/2019/day/1) | :1st_place_medal: | :snowflake: | [day_01.ex](/lib/2019/day_01.ex) | [day_01_test.exs](/test/2019/day_01_test.exs) | [calculation](/tags.md#calculation) |
1414
| 2 | [1202 Program Alarm](https://adventofcode.com/2019/day/2) | :1st_place_medal: | :snowflake: | [day_02.ex](/lib/2019/day_02.ex) | [day_02_test.exs](/test/2019/day_02_test.exs) | [simulation](/tags.md#simulation), [op-code](/tags.md#op-code), [not-fast-enough](/tags.md#not-fast-enough), [int-code](/tags.md#int-code) |
15-
| 3 | [Crossed Wires](https://adventofcode.com/2019/day/3) | :1st_place_medal: | :snowflake: | [day_03.ex](/lib/2019/day_03.ex) | [day_03_test.exs](/test/2019/day_03_test.exs) | [grid](/tags.md#grid), [navigation](/tags.md#navigation), [set](/tags.md#set), [not-fast-enough](/tags.md#not-fast-enough) |
15+
| 3 | [Crossed Wires](https://adventofcode.com/2019/day/3) | :1st_place_medal: | :snowflake: | [day_03.ex](/lib/2019/day_03.ex) | [day_03_test.exs](/test/2019/day_03_test.exs) | [grid](/tags.md#grid), [walk](/tags.md#walk), [set](/tags.md#set), [not-fast-enough](/tags.md#not-fast-enough) |
1616
| 4 | [Secure Container](https://adventofcode.com/2019/day/4) | :1st_place_medal: | :snowflake: | [day_04.ex](/lib/2019/day_04.ex) | [day_04_test.exs](/test/2019/day_04_test.exs) | [sequence](/tags.md#sequence), [inline-input](/tags.md#inline-input), [not-fast-enough](/tags.md#not-fast-enough) |
1717
| 5 | [Sunny with a Chance of Asteroids](https://adventofcode.com/2019/day/5) | :2nd_place_medal: | :snowflake: | [day_05.ex](/lib/2019/day_05.ex) | [day_05_test.exs](/test/2019/day_05_test.exs) | [simulation](/tags.md#simulation), [op-code](/tags.md#op-code), [int-code](/tags.md#int-code) |
1818
| 6 | [Universal Orbit Map](https://adventofcode.com/2019/day/6) | :1st_place_medal: | :snowflake: | [day_06.ex](/lib/2019/day_06.ex) | [day_06_test.exs](/test/2019/day_06_test.exs) | [graph](/tags.md#graph), [shortest-path](/tags.md#shortest-path) |

lib/2021/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
| :---: | :------: | :---: | :---: | :---: | :---: | :---: |
1313
| 1 | [Sonar Sweep](https://adventofcode.com/2021/day/1) | :1st_place_medal: | :snowflake: | [day_01.ex](/lib/2021/day_01.ex) | [day_01_test.exs](/test/2021/day_01_test.exs) | [sliding-window](/tags.md#sliding-window), [sequence](/tags.md#sequence) |
1414
| 2 | [Dive!](https://adventofcode.com/2021/day/2) | :1st_place_medal: | :snowflake: | [day_02.ex](/lib/2021/day_02.ex) | [day_02_test.exs](/test/2021/day_02_test.exs) | [traversal](/tags.md#traversal) |
15-
| 3 | [Binary Diagnostic](https://adventofcode.com/2021/day/3) | :1st_place_medal: | :snowflake: :snowflake: | [day_03.ex](/lib/2021/day_03.ex) | [day_03_test.exs](/test/2021/day_03_test.exs) | [computation](/tags.md#computation) |
15+
| 3 | [Binary Diagnostic](https://adventofcode.com/2021/day/3) | :1st_place_medal: | :snowflake: :snowflake: | [day_03.ex](/lib/2021/day_03.ex) | [day_03_test.exs](/test/2021/day_03_test.exs) | [calculation](/tags.md#calculation) |
1616
| 4 | [Giant Squid](https://adventofcode.com/2021/day/4) | :1st_place_medal: | :shrug: | [day_04.ex](/lib/2021/day_04.ex) | [day_04_test.exs](/test/2021/day_04_test.exs) | |
1717
| 5 | [Hydrothermal Venture](https://adventofcode.com/2021/day/5) | :1st_place_medal: | :shrug: | [day_05.ex](/lib/2021/day_05.ex) | [day_05_test.exs](/test/2021/day_05_test.exs) | |
1818
| 6 | [Lanternfish](https://adventofcode.com/2021/day/6) | :1st_place_medal: | :shrug: | [day_06.ex](/lib/2021/day_06.ex) | [day_06_test.exs](/test/2021/day_06_test.exs) | |

0 commit comments

Comments
 (0)