https://romankurnovskii.com/en/tracks/algorithms-101/leetcode/medium/2352/
2352. Equal Row and Column Pairs