Skip to content

Glossary: Algorithms Beyond the Basics in C++

vector of vectors

Also written: 2D table, 2D vector

A table made of one vector per row, such as `best[i][t]` in the knapsack. Each row must be its own separate vector.

Where the book teaches it

Related terms

0/1 knapsack