• + 1 comment

    Well, I guess the idea was to search about Sparse Arrays (hence the title) and implement the challenge using it. Hashmaps are the obvious choice, even though Sparse Arrays will have the best compromise IMHO (storage space vs performance).

    You still can go ahead and learn about sparse arrays and perhaps re-implement the solution in order to learn something out of this challenge :)