Back to problems

Spreadsheet with Cell Dependencies

Object-Oriented Programming · Harvey · Hard

Problem Overview Design a spreadsheet engine similar to Excel that supports set_cell() and get_cell() operations. You'll start with basic integer storage, then introduce formulas, automatic dependency propagation, workload-based optimization, input validation, and circular dependency detection. The task resembles LeetCode 3484 (Design Spreadsheet) but Harvey's version extends it across multiple stages. Key additions include a dependency graph, cascading updates to dependent…

Checking your access…