tables
to store table names mapped to their data.rows
to map row IDs to actual rows and an integer nextRowId
to keep track of the next ID to assign.insertRow
by adding a new row to the table's rows
HashMap with the current nextRowId
and then incrementing nextRowId
.deleteRow
by removing the row with the given row ID from the table's rows
HashMap. Do not modify nextRowId
.selectCell
by accessing the cell in the table's rows
HashMap using the given row ID and column ID.