# Challenge: Find Two Pairs in an Array Such That a+b = c+d

Try to solve the Find Two Pairs in an Array Such That a+b = c+d problem.

## We'll cover the following

## Statement

Given an array of distinct integers, `nums`

, determine whether there exist two pairs,

**Constraints:**

$4 \leq$ `nums.length`

$\leq 10^3$ $-10^3 \leq$ `nums[i]`

$\leq 10^3$

## Examples

Level up your interview prep. Join Educative to access 80+ hands-on prep courses.