Practice
Learn
← Quit
0 / 0 correct
Data Structures
Hard
1 of 10
How is a sparse matrix typically stored in CSR (compressed sparse row) format?
A
A hash map from (row, col) only
B
Three arrays: non-zero values, their column indices, and row start offsets
C
A linked list per cell
D
A full 2D array