rinfz / aoc2018

https://adventofcode.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Notes

Day 4

  • If you don't need O(1) lookup, don't use a table/dict
  • Arrays a good, especially if you know the size
  • Think critically about off by one when iterating

Day 5

  • Make use of stacks when consecutive elements have a relation
  • Toggling case is easier with xor
  • (dlang): use std.experimental.all to import all of Phobos

About

https://adventofcode.com/


Languages

Language:Nim 63.7%Language:D 20.3%Language:Python 16.0%