Check if Matrix Is X-Matrix - DSA Problem | Talentd