ayushi-ras / beginner-contribution-

Beginners Friendly
MIT License
13 stars 63 forks source link

Add 4sum problem solution in C++ #44

Open blindaks opened 1 year ago

blindaks commented 1 year ago

Given an array nums of n integers, return an array of all the unique quadruplets [nums[a], nums[b], nums[c], nums[d]] such that:

0 <= a, b, c, d < n a, b, c, and d are distinct. nums[a] + nums[b] + nums[c] + nums[d] == target

Please assign this issue to me under Hacktoberfest.