Glossary: Algorithms Beyond the Basics in Java
2D array
Also written: int[][], two-dimensional array
An array of arrays, used as a table with rows and columns. `new int[rows][cols]` builds one filled with zeros, like the knapsack's `best` table.
Glossary: Algorithms Beyond the Basics in Java
Also written: int[][], two-dimensional array
An array of arrays, used as a table with rows and columns. `new int[rows][cols]` builds one filled with zeros, like the knapsack's `best` table.