Module day08
Source Expand description
- HEIGHT π
- LAYER_SIZE π
- WIDTH π
- parse
- part1
- Each layer is 25 * 6 = 150 bytes and there are 100 layers total.
- part2
- Since a black or white pixel covers those in lower layers, itβs faster to check each pixel
stopping as soon as we hit a non-transparent value.