Skip to content

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.

Where the book teaches it

Related terms

0/1 knapsackBottom-up (tabulation)