What is the relation between Sparsity and Density of a matrix?
(a) Sparsity = 1 – Density
(b) Sparsity = 1 + Density
(c) Sparsity = Density*Total number of elements
(d) Sparsity = Density/Total number of elements
The query is from Arrays Types topic in division Arrays Types of Data Structures & Algorithms I
This question was posed to me in an international level competition.