...

/

Solution: Find Symmetric Pairs in an Array

Solution: Find Symmetric Pairs in an Array

Let’s solve the Find Symmetric Pairs in an Array problem.

We'll cover the following...

Statement

Given an array of pairs, nums, find all the symmetric pairsBy definition, (a, b) and (c, d) are symmetric pairs iff, a = d and b = c. from it. If no symmetric pair is found, return an empty array.

Constraints:

  • 22 \leq ...

Access this course and 1400+ top-rated courses and projects.