...

/

Solution: Find Symmetric Pairs in a List

Solution: Find Symmetric Pairs in a List

Let’s solve the Find Symmetric Pairs in a List problem.

We'll cover the following...

Statement

Given a list 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 list.

Constraints:

  • 22 \leq ...

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