Please could someone explain to me how a 2D sparse array works and provide an example.
I understand the principle but how are the elements indexed for example?
Are there two arrays in fact?
i.e. first array has all elements in it but mostly empty and then second array points to indexes of where first array has data?
any help or example appreciated
thanks
I understand the principle but how are the elements indexed for example?
Are there two arrays in fact?
i.e. first array has all elements in it but mostly empty and then second array points to indexes of where first array has data?
any help or example appreciated
thanks