Bloomberg Interview Question

How can we multiply two square matrices together? Can we improve the algorithm if we know they're sparsely filled?