What does the 'Sparseness' of an array mean?
2023
What does the 'Sparseness' of an array mean?
- A.
The array is full
- B.
The array is empty
- C.
The array contains a lot of zeros or nulls
- D.
The array is out of memory
Attempted by 874 students.
Show answer & explanation
Correct answer: C
In computer science, a sparse array is an array in which most of the elements are zero (or null or any default value).