MCPcopy Create free account
hub / github.com/PinkyJie/leetcode-patterns / quadrupleSumToTarget

Function quadrupleSumToTarget

2_two-pointers/18_4sum.js:28–82  ·  view source on GitHub ↗

* * Problem: * Given an array of unsorted numbers and a target number, find all unique quadruplets in * it, whose sum is equal to the target number. Notice that the solution set must not * contain duplicate quadruplets. * https://leetcode.com/problems/4sum/ * * Example 1: * Input: [4, 1, 2,

(array, targetSum)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

18_4sum.jsFile · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected