Find Index Pairs of Matching Elements in Arrays | Walmart Labs Interview Question