[Solved] Equal Row and Column Pairs LeetCode Contest Problem
![[Solved] Equal Row and Column Pairs LeetCode Contest Problem [Solved] Equal Row and Column Pairs LeetCode Contest Problem](https://realcoder.techss24.com/wp-content/uploads/2022/07/Solved-Equal-Row-and-Column-Pairs-LeetCode-Contest-Problem.png)
Given a 0-indexed n x n integer matrix grid, return the number of pairs (Ri, Cj) such that row Ri and column Cj are equal. A row and column pair is considered equal if they contain the same elements in the same order (i.e. an equal array). Equal Row and Column…