18. 4Sum

leetcode-potd

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

15. 3Sum

leetcode-potd

Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that i != j, i != k,

Scroll to Top