Skip to content

Glossary: Algorithms Beyond the Basics in JavaScript

Array of arrays

Also written: 2D table, two-dimensional table, 2D array

A 2D table built as one array per row. The knapsack's `best` table is made this way, so best[i][t] is the cell for the first i batches and t minutes.

Where the book teaches it

Related terms

Tabulation