2408. Design SQL ¶
- Time:
- Constructor: $O(1)$
insertRow(name: str, row: list[str])
: $O(1)$deleteRow(name: str, rowId: int)
: $O(1)$selectCell(name: str, rowId: int, columnId: int)
: $O(1)$
- Space: $O(|\texttt{insertRow()}|)$
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
|
1 2 3 4 5 6 7 8 9 10 11 12 |
|