• + 0 comments

    With so many answers pertaining to HashMap and actually using SparseArray, I found yours being quite elegant solution. Also I don't understand how this problem is related to sparse map. If it was it should include couple of empty/null entries.