top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What data structure would you use to store the entries of a sparse matrix and why?

0 votes
401 views
What data structure would you use to store the entries of a sparse matrix and why?
posted Nov 8, 2016 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button
use structure with three variables namely two for rows and column and one for values
struct sparseMatrics{
int row,col;
int value;
};

...