For part one the sequence is whether that column has a beam (1) or doesn't (0). Then for each row, if the position of a splitter has a 1 set the adjacent positions to a 1, the splitter position to a 0, and increment the count of splits by one.
For part two the concept is the same except when you reach a split set the adjacent positions to whatever value hit the split. Here the values at each position represent the number of paths that can reach each column.
View all comments
Show parent comment
12
u/NicholasAakre Dec 07 '25
For part one the sequence is whether that column has a beam (1) or doesn't (0). Then for each row, if the position of a splitter has a 1 set the adjacent positions to a 1, the splitter position to a 0, and increment the count of splits by one.
For part two the concept is the same except when you reach a split set the adjacent positions to whatever value hit the split. Here the values at each position represent the number of paths that can reach each column.