I recently asked about this in an interview (Software Engineer) and did not know how to answer the question.
The question was focused both on the spreadsheet algorithm and how it will interact with the browser. I was a little confused about which data structure would be optimal for processing cells and their values. I assume that any form of hash table will work with cells that are a unique key, and the value will work with an object in a cell? Then, when something is updated, you just update that record in your table. The interviewer hinted at the chart, but I did not know how the chart would be useful for the spreadsheet.
Other things I considered were:
Any tips on how to solve this? Besides the algorithm of the spreadsheet itself, what else could the interviewer do? Does the fact that it is difficult in the browser compared to a separate application?
Thank!
. , , .
, , , .
, , , , . , .
, , , , , , . , JavaScript, . , . , , . , Excel , . , . (), . 100 000 , , script. .
, . ? , ? (, , , , ).
, , .
, , , , , .
. , , :
, 2D- .
-
- kd-tree, " ".
" " ( " " - " " , - , , ) - , , :
( )
"", , ,
( , , , )
Source: https://habr.com/ru/post/1542728/More articles:Django South. Heroku KeyError: 'default' - databaseWhy is the Get method missing in MoqMockingKernel? - c #Typeerror: Undefined form element only in FireFox - javascriptUsing RPM packages and managing dependencies with .txt requirements - pythonАдресация объектов python - pythonDetect if mouse is above column border - javascriptHow to download .MBTiles (Project / Data) from my Mapbox account? - exportWhy is the code written in scala 6 times slower than in java? - javaNode session expiring cookie - node.jsЧтение данных файла .xls по строке python - pythonAll Articles