Expedia Group interview question

Coding: SetzeroMatrix