├── LICENSE ├── README.md ├── erlang ├── .gitattributes ├── .gitignore ├── .gitkeep ├── README.md ├── day1 │ ├── day1-advanced.erl │ └── day1.erl ├── day2 │ ├── day2.erl │ └── day2pt2.erl └── helloworld │ ├── .erlang.mk │ ├── last-makefile-change │ └── relx │ ├── Makefile │ ├── config │ ├── sys.config │ └── vm.args │ ├── ebin │ └── helloworld.app │ ├── erlang.mk │ ├── helloworld.d │ ├── relx.config │ └── src │ ├── helloworld_app.erl │ └── helloworld_sup.erl ├── julia ├── 01.jl ├── 02.jl ├── 03.jl └── README.md ├── ocaml ├── .editorconfig ├── .gitattributes ├── .gitignore ├── .ocamlformat ├── .vim │ └── coc-settings.json ├── Makefile ├── README.md ├── advent-of-code-2021.opam ├── bin │ ├── aoc.ml │ └── dune ├── dune-project └── lib │ ├── day1.ml │ ├── day1.mli │ ├── day2.ml │ ├── day2.mli │ ├── day3.ml │ ├── day3.mli │ ├── day4.ml │ ├── day4.mli │ ├── day5.ml │ ├── day5.mli │ ├── day6.ml │ ├── day6.mli │ ├── day7.ml │ ├── day7.mli │ ├── dune │ └── util.ml └── rescript ├── .gitattributes ├── .gitignore ├── README.md ├── bsconfig.json ├── package.json ├── src ├── day1.bs.js └── day1.res └── yarn.lock /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/README.md -------------------------------------------------------------------------------- /erlang/.gitattributes: -------------------------------------------------------------------------------- 1 | */erlang.mk linguist-vendored -------------------------------------------------------------------------------- /erlang/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/erlang/.gitignore -------------------------------------------------------------------------------- /erlang/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /erlang/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/erlang/README.md -------------------------------------------------------------------------------- /erlang/day1/day1-advanced.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/erlang/day1/day1-advanced.erl -------------------------------------------------------------------------------- /erlang/day1/day1.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/erlang/day1/day1.erl -------------------------------------------------------------------------------- /erlang/day2/day2.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/erlang/day2/day2.erl -------------------------------------------------------------------------------- /erlang/day2/day2pt2.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/erlang/day2/day2pt2.erl -------------------------------------------------------------------------------- /erlang/helloworld/.erlang.mk/last-makefile-change: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /erlang/helloworld/.erlang.mk/relx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/erlang/helloworld/.erlang.mk/relx -------------------------------------------------------------------------------- /erlang/helloworld/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/erlang/helloworld/Makefile -------------------------------------------------------------------------------- /erlang/helloworld/config/sys.config: -------------------------------------------------------------------------------- 1 | [ 2 | ]. 3 | -------------------------------------------------------------------------------- /erlang/helloworld/config/vm.args: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/erlang/helloworld/config/vm.args -------------------------------------------------------------------------------- /erlang/helloworld/ebin/helloworld.app: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/erlang/helloworld/ebin/helloworld.app -------------------------------------------------------------------------------- /erlang/helloworld/erlang.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/erlang/helloworld/erlang.mk -------------------------------------------------------------------------------- /erlang/helloworld/helloworld.d: -------------------------------------------------------------------------------- 1 | # Generated by Erlang.mk. Edit at your own risk! 2 | 3 | 4 | COMPILE_FIRST += 5 | -------------------------------------------------------------------------------- /erlang/helloworld/relx.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/erlang/helloworld/relx.config -------------------------------------------------------------------------------- /erlang/helloworld/src/helloworld_app.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/erlang/helloworld/src/helloworld_app.erl -------------------------------------------------------------------------------- /erlang/helloworld/src/helloworld_sup.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/erlang/helloworld/src/helloworld_sup.erl -------------------------------------------------------------------------------- /julia/01.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/julia/01.jl -------------------------------------------------------------------------------- /julia/02.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/julia/02.jl -------------------------------------------------------------------------------- /julia/03.jl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/julia/03.jl -------------------------------------------------------------------------------- /julia/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/julia/README.md -------------------------------------------------------------------------------- /ocaml/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/ocaml/.editorconfig -------------------------------------------------------------------------------- /ocaml/.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/ocaml/.gitattributes -------------------------------------------------------------------------------- /ocaml/.gitignore: -------------------------------------------------------------------------------- 1 | .merlin 2 | .DS_Store 3 | 4 | _build/ 5 | _opam/ 6 | 7 | # input 8 | *.txt 9 | -------------------------------------------------------------------------------- /ocaml/.ocamlformat: -------------------------------------------------------------------------------- 1 | version = 0.20.0 2 | -------------------------------------------------------------------------------- /ocaml/.vim/coc-settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/ocaml/.vim/coc-settings.json -------------------------------------------------------------------------------- /ocaml/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/ocaml/Makefile -------------------------------------------------------------------------------- /ocaml/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/ocaml/README.md -------------------------------------------------------------------------------- /ocaml/advent-of-code-2021.opam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/ocaml/advent-of-code-2021.opam -------------------------------------------------------------------------------- /ocaml/bin/aoc.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/ocaml/bin/aoc.ml -------------------------------------------------------------------------------- /ocaml/bin/dune: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/ocaml/bin/dune -------------------------------------------------------------------------------- /ocaml/dune-project: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/ocaml/dune-project -------------------------------------------------------------------------------- /ocaml/lib/day1.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/ocaml/lib/day1.ml -------------------------------------------------------------------------------- /ocaml/lib/day1.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/ocaml/lib/day1.mli -------------------------------------------------------------------------------- /ocaml/lib/day2.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/ocaml/lib/day2.ml -------------------------------------------------------------------------------- /ocaml/lib/day2.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/ocaml/lib/day2.mli -------------------------------------------------------------------------------- /ocaml/lib/day3.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/ocaml/lib/day3.ml -------------------------------------------------------------------------------- /ocaml/lib/day3.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/ocaml/lib/day3.mli -------------------------------------------------------------------------------- /ocaml/lib/day4.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/ocaml/lib/day4.ml -------------------------------------------------------------------------------- /ocaml/lib/day4.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/ocaml/lib/day4.mli -------------------------------------------------------------------------------- /ocaml/lib/day5.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/ocaml/lib/day5.ml -------------------------------------------------------------------------------- /ocaml/lib/day5.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/ocaml/lib/day5.mli -------------------------------------------------------------------------------- /ocaml/lib/day6.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/ocaml/lib/day6.ml -------------------------------------------------------------------------------- /ocaml/lib/day6.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/ocaml/lib/day6.mli -------------------------------------------------------------------------------- /ocaml/lib/day7.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/ocaml/lib/day7.ml -------------------------------------------------------------------------------- /ocaml/lib/day7.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/ocaml/lib/day7.mli -------------------------------------------------------------------------------- /ocaml/lib/dune: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/ocaml/lib/dune -------------------------------------------------------------------------------- /ocaml/lib/util.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/ocaml/lib/util.ml -------------------------------------------------------------------------------- /rescript/.gitattributes: -------------------------------------------------------------------------------- 1 | *.bs.js linguist-generated 2 | -------------------------------------------------------------------------------- /rescript/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /lib 3 | .bsb.lock 4 | .merlin 5 | 6 | /src/*.input.txt 7 | -------------------------------------------------------------------------------- /rescript/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/rescript/README.md -------------------------------------------------------------------------------- /rescript/bsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/rescript/bsconfig.json -------------------------------------------------------------------------------- /rescript/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/rescript/package.json -------------------------------------------------------------------------------- /rescript/src/day1.bs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/rescript/src/day1.bs.js -------------------------------------------------------------------------------- /rescript/src/day1.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/rescript/src/day1.res -------------------------------------------------------------------------------- /rescript/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/daangn/advent-of-code-2021/HEAD/rescript/yarn.lock --------------------------------------------------------------------------------