Cruise interview question

I was asked to code sparse matrix multiplication computation.