Arrays on Data Structure and Algorithms related Questions and Answers


Question :   Suppose the contents of an array A are, A = {1, null, null, null, null, 10};
What would be the size of the array considering it as a normal array and a sparse array?

1. 6 and 6
2. 6 and 2
3. 2 and 6
4. 2 and 2
Answer :   2 - 6 and 2  

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter