top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

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

0 votes
56 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 Google+ Share Button LinkedIn Share Button Multiple Social Share Button
use structure with three variables namely two for rows and column and one for values
struct sparseMatrics{
int row,col;
int value;
};

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...