3484. Design Spreadsheet¶
- Time:
- Constructor: $O(1)$
setCell(cell: str, value: int)
: $O(1)$resetCell(cell: str)
: $O(1)$getValue(formulat: str)
: $O(1)$
- Space: $O(|\texttt{setCell(cell: str, value: int)}|)$
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
|