Advent of Code Day 2
02 Dec 2018Day 2 of Advent of Code1.
The following is my solution for Part 2. Part 1 was some modification of this.
As I had labeled in the comment, sorting the lines didn’t appear to cause a noticeable difference in performance for the input size. I haven’t looked at the effects on larger or smaller inputs, but from what I gathered from a friend that running similar code in Clojure, sorting did have a magnitude of performance increase.