Recur Table Build

Puzzle

Only for iPhone

Free · Designed for iPhone. Not verified for macOS.

iPhone

Naive recursion computes F(8) with 67 function calls. The DP table computes it with 8. Recur Table Build shows you exactly why — one cell at a time. Recur Table Build is a dynamic programming game that teaches the one algorithmic technique most computer science students understand during a lecture and cannot apply the next morning. Dynamic programming is hard to learn from a textbook because the insight it provides is computational rather than conceptual — you have to see the waste before you can appreciate the fix. The game shows you the waste first. A recursive call tree explodes onto the screen, its branches multiplying, the same function calls appearing over and over highlighted in red. For Fibonacci at n=8, the tree has 67 nodes. The same computation done with a DP table has 8. A counter shows the ratio. At n=50 the ratio is ten trillion to one. Then the table appears. A compact grid of cells, base cases pre-filled, the rest empty. For each cell, dependency arrows animate from the cells that contribute to it — from above and to the left for grid problems, from the diagonal and both sides for string problems, from the row above with two choices for the knapsack. The player selects the correct value from three options. The cell fills. The next cell is focused. The table builds. Eight levels introduce four structural types of DP problem. The one-dimensional sequence table, used for Fibonacci, stair climbing, and the coin change problem — which also demonstrates that the greedy algorithm gives the wrong answer for certain coin sets, and shows exactly where and why. The two-dimensional grid table, used for counting paths and maximising treasure — where the player learns to trace the optimal path backward through a completed table. The string alignment table for edit distance, with three arrows per cell representing the three possible operations. And the optimisation table for the knapsack problem, where each cell requires choosing between skipping an item and taking it. Three game modes cover the full workflow. Fill the table by selecting from options. Predict individual values without options, computing the recurrence from memory. Reconstruct the optimal solution by tracing backward through a completed table — the step most explanations skip. After eight levels, the player can identify the recurrence relation in a new DP problem, fill the table correctly, and extract the solution.

  • This app hasn’t received enough ratings or reviews to display an overview.

The developer, Terry Brusda, indicated that the app’s privacy practices may include handling of data as described below. For more information, see the developer’s privacy policy .

  • Data Not Collected

    The developer does not collect any data from this app.

    Privacy practices may vary, for example, based on the features you use or your age. Learn More

    The developer has not yet indicated which accessibility features this app supports. Learn More

    Seller
    Terry Brusda
    Size
    1.2 MB
    Category
    Puzzle
    Compatibility
    Requires iOS 18.0 or later.
    • iPhone
      Requires iOS 18.0 or later.
    • Mac
      Requires macOS 15.0 or later and a Mac with Apple M1 chip or later.
    • Apple Vision
      Requires visionOS 2.0 or later.
    Languages
    English
    Age Rating
    16+
    Copyright
    © Terry, 2026