You must log in or register to comment.
This has no business looking this satisfying
Dynamic programming /s
Goofy but aesthetically pleasing impl
This isn’t goofy, this is an extremely diffused “pattern” when you need to use non dynamic number sequences.