What is a sparse array?

Q & ACategory: Data StructureWhat is a sparse array?
Admin Staff asked 4 years ago

What is a sparse array?
a) Data structure for representing arrays of records
b) Data structure that compactly stores bits
c) An array in which most of the elements have the same value
d) An array in which memory is allocated in run time

1 Answers
Admin Staff answered 4 years ago

c) An array in which most of the elements have the same value