The problem description is wrong. It should ask you to design data structure.

  • 24

    It should be a data structure design problem.

    You should give a reasonable data structure to present sparse matrix and multiplication method.

  • 0

    I agree with you, now that the matrix is store in the dense form, the efficiency cannot be speed up

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.