4 Commits

Author SHA1 Message Date
b368355201 Optimize bash solution for day 2.
Now loops less (only n(n-1) / 2 times instead of n^2), doesn't call echo
spuriously, and doesn't use tail/head anymore. Results in 75% less
runtime, so I'll take it.
2017-12-11 00:13:51 +01:00
a2a84a6a2d Remove unused temporary. 2017-12-02 11:34:30 +01:00
940d4ad129 Clean up using shellcheck. 2017-12-02 11:31:29 +01:00
12f76678dc Add solution to day 2.
In bash, for a change.
2017-12-02 11:01:35 +01:00