LinkedIn logoLinkedIn
Coding·60 minMembers

Sparse Vector / Matrix Product

Members only

Design `SparseVector` and `SparseMatrix` classes from scratch, then implement vector-vector and matrix-matrix products without materializing the dense form. The bar is *both* sub-`O(M × N)` time and m...

MLE
RS
data-structure
object-design
math
linear-algebra
memory-bounded
hard
Frequency
Single report
Last asked
2025-11-16
Stage
onsite-coding

Log in to continue reading the full content