In-Memory Spreadsheet with Addition Formulas and O(1) Reads

Design and implement an in-memory spreadsheet that supports cells defined by addition formulas, and requires O(1) read (GET) operations.

Operations

  • SET cell expr: set the content of cell ...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: