Glossary: Algorithms Beyond the Basics
List of lists
Also written: 2D table, 2D list
A two-dimensional table made of one list per row, built with a loop so every row is its own list. The knapsack's `best[i][t]` is one.
Glossary: Algorithms Beyond the Basics
Also written: 2D table, 2D list
A two-dimensional table made of one list per row, built with a loop so every row is its own list. The knapsack's `best[i][t]` is one.