G
Guest
Hi,
I was asked the following question at work:
"Assume that you have 5000 columns and 5000 rows of data. You take these
data from the database and need to show them in a table. Before showing
these data in a table, you need to store it in a code data sturcture. Rows
and columns will be added and deleted, so the data structure needs to be
efficient. Spatial locality needs to be considered, and memory needs to be
freed when data is deleted. Which data structure (in C# or VB) will you use?"
The answer is none of the following:
- 2D array
- Double linked-lists
- 2D vector
Does anyone know the answer to this? Thanks!
I was asked the following question at work:
"Assume that you have 5000 columns and 5000 rows of data. You take these
data from the database and need to show them in a table. Before showing
these data in a table, you need to store it in a code data sturcture. Rows
and columns will be added and deleted, so the data structure needs to be
efficient. Spatial locality needs to be considered, and memory needs to be
freed when data is deleted. Which data structure (in C# or VB) will you use?"
The answer is none of the following:
- 2D array
- Double linked-lists
- 2D vector
Does anyone know the answer to this? Thanks!