Question
Choose the appropriate code that counts the number of non-zero(non-null) elements in the sparse array.
Answer: Option A
Was this answer helpful ?
A simple 'for loop' to count the non-null elements.
Was this answer helpful ?
More Questions on This Topic :
Question 3. Identify the disadvantages of bit array. ....
Submit Solution