Very impressive again! Even after looking at your code and reading some hints on reddit I still don't feel I understand the solution to part 2 🙂
r
Rostyslav
12/16/2019, 9:47 PM
@Joris PZ Luckily I noticed that offset is in the second half where all members depends on each other in reverse order using multiple 1. The first half for them disappear due to multiplication by 0. Look at the example how the last 4 numbers behave.
In case the offset is in the first half it will not work. But I suppose they are in the second for all variants like in the examples for part 2.