Question DSA-ARR-0058
MediumWhat is a sparse matrix usually stored as to save space?
- A.
A full 2D array
- B.
A string
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Arrays question
What is a sparse matrix usually stored as to save space?
A full 2D array
A string
Sign up free to see the answer and a step-by-step explanation.
A linked list of all entries
Only its non-zero entries, with their row and column (e.g. triplets or CSR)