lets say i enter this Array : [0 0 1 2 3 4 5 0 0 0] what should be the output of sparse array ?

thank you

Recommended Answers

http://en.wikipedia.org/wiki/Sparse_array
If you read that definition, do you consider half as most?
If so, the answer is obvious.

Jump to Post

All 2 Replies

thines01, I was thinking the same thing.

what should be the output of sparse array ?

What do you mean by output?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.