You are viewing a single comment's thread. Return to all comments →
Hi. I am new to sparse arrays so could you explain your code to me?
As I see it, you are using a something like an array representation of a trie...is that correct? I particularly do not understand the use of the subnodes array properly.
How are you storing the indices with the values or storing the total number of zeroes?