Nice solution. I went a tiny bit further in part 2 to use the set of known seats to reduce the loop to just known empty seats.
3
0
2
Just realised that I missed the obvious trick that the row is essentially * 8 already as its shifted across 3 columns, so the slicing and multiplication can be removed also. That's what I get for coding at 5am on a Saturday.

1:04 PM ยท Dec 5, 2020

0
0
1