Sparse Vector and Matrix Product
Asked at LinkedIn · Coding Questions · Difficulty: Hard · Last asked Nov 16, 2025
Design `SparseVector` and `SparseMatrix` classes from scratch, then implement vector-vector and matrix-matrix products without materializing the dense form.
Loading the problem…
More LinkedIn interview questions
- Design LinkedIn's Skills Extraction & Taxonomy Pipeline
- Stratified Sampling from Class-Bucketed Data
- Design Post Search with Keyword Exclusion and Frequency Ranking
- Ranked-Choice Voting (Instant Runoff)
- AI Personalized Recruiter Message Generation
- Real-Time Collaborative Code Editor