AlgoMaster Logo

4Sum

nums=[1, 0, -1, 0, -2, 2],target=0
0 / 39
algomaster.io
Step:Find every quadruplet summing to 0 (array is sorted)