GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — algorithms/design/excel_table.md at master · deba999/algorithms

Expand file tree

/

excel_table.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
29 lines (23 loc) · 558 Bytes
/

excel_table.md

Copy path

File metadata and controls

29 lines (23 loc) · 558 Bytes
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Q

Need to implement set and get operations. Be aware that one cell may depend on other cells, e.g. cells[1, 2] = cells[1, 1] + cell[1, 3] * 2

A

Could you give more details in the description and an example?

For example, it is not clear how the inputs are given. How is the spreadsheet represented? A 2d array of cells? Each cell contains a string?

Input:

[
  ["100",   "A2*3"],
  ["B2+A1", "200"]
]

Output:

[
  ["100", "900"],
  ["300", "200"]
]

Is it like the above? And what about circular reference? What should the output be?

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.