Little bit late to this, but I'm proud of my solution for Part 2. The basic idea I went for was trying to identify the minimum amount of information needed to distinguish each of the digits. The...
Little bit late to this, but I'm proud of my solution for Part 2. The basic idea I went for was trying to identify the minimum amount of information needed to distinguish each of the digits. The four factors I narrowed it down to were the length of the combination and the number of segments in common with the displays for 1, 4, and 7.
Part 1: 80 bytes
Part 2: 328 bytes
Little bit late to this, but I'm proud of my solution for Part 2. The basic idea I went for was trying to identify the minimum amount of information needed to distinguish each of the digits. The four factors I narrowed it down to were the length of the combination and the number of segments in common with the displays for 1, 4, and 7.
Part 1: 80 bytes
Part 2: 328 bytes
Part 1
Part 2