Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
Compressed Grid Operations
Hard
Design a CompressedGrid class that stores a sparse integer matrix efficiently by keeping only non-zero values in memory. The class must support element-wise addition and matrix multiplication with another grid provided as a full 2D matrix.
Implement the following: ...
Asked at:Pinterest
More Pinterest interview questions
- Coworking Desk Availabilitymedium
- Degrees of Separationmedium
- Directory Permission Managermedium
- EV Charging Optimizermedium
- Audit Log Analyzermedium
- Remove a Forest Subtreemedium
- Scooter Street Ride Simulationeasy
- Distribute Ads Across Columnseasy
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.