Question 6
What is the worst-case space complexity of storing a Sparse Matrix with K non-zero elements using the Coordinate Format (COO / Triplet representation)?
COO represents a sparse matrix using 3 arrays of length K (row index, column index, value), consuming O(K) space instead of O(M*N).