AlgoGenesis / C

AlgoGenesis is a centralized open-source platform dedicated to providing optimized and well-documented algorithm implementations in C. Perfect for both beginners and advanced users, this repository serves as a comprehensive learning resource for solving algorithmic challenges.
MIT License
37 stars 107 forks source link

[NEW ALGORITHM] Sparse matrix Algorithms #207

Open Salini-sat opened 4 days ago

Salini-sat commented 4 days ago

Description:

I want to add sparse matrix operations like creation of sparse matrix , it's representation and it's operations such as, addition and multiplication of two sparse matrixes .

Checklist:

Additional Information:

A matrix is a two-dimensional data object made of m rows and n columns, therefore having total m x n values. If most of the elements of the matrix have 0 value, then it is called a sparse matrix.

Why to use Sparse Matrix instead of simple matrix ?

Storage: There are lesser non-zero elements than zeros and thus lesser memory can be used to store only those elements. Computing time: Computing time can be saved by logically designing a data structure traversing only non-zero elements..

Salini-sat commented 4 days ago

@pankaj-bind kindly please assign me this and also add hackoberfest level

Salini-sat commented 1 day ago

@pankaj-bind please assign me this

pankaj-bind commented 19 hours ago

@Salini-sat you can start