diff options
Diffstat (limited to '2025/README.md')
| -rw-r--r-- | 2025/README.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/2025/README.md b/2025/README.md index c859ec8..4ca1d2e 100644 --- a/2025/README.md +++ b/2025/README.md | |||
| @@ -96,3 +96,7 @@ changed to a map where the keys are the positions and the values are the | |||
| 96 | number of multiverses where a tachyon is in that position. To update | 96 | number of multiverses where a tachyon is in that position. To update |
| 97 | this value for the current row, I sum the values of all tachyons that | 97 | this value for the current row, I sum the values of all tachyons that |
| 98 | end there from the previous row (that can be one or two tachyons). | 98 | end there from the previous row (that can be one or two tachyons). |
| 99 | |||
| 100 | I added a second solution for part 2 that does not use a map, but only | ||
| 101 | lists. This could be seen as a dynamic programming problem where the | ||
| 102 | iterative implementation is more intuitive than the recursive one. | ||
