Topic: Array Problem / Level: beginner

Problem: Check if a given 2D matrix is sparse (more than half of its elements are zero).

Run the code to see the output here...