[Community Puzzle] 1D Spreadsheet


@migsilvan2211 If your code is too slow, then try memoizing.


I β€œlost” a few hours fighting with it.
In my case: β€˜-3’.isdigit() was the problem.


This puzzle seems to me a better fit for the medium category that for the easy one. Add the keyword Memoization in the Details under the section What I'll learn? would be really useful as well. Thanks to the ones that pointed out the Memoization technique. That really helped me to solve this puzzle.


Good idea indeed. Done.


Solved subject without Memoization and recursion. Solution was event-driven. Dependency chains β€œauto” solved after cell calculation by subscription to solved event.
Each cell calculated one time.


Thanks Niako!