Check if Every Row and Column Contains All Numbers-Leetcode Easy

https://leetcode.com/problems/check-if-every-row-and-column-contains-all-numbers/