Simplify the four sum problem solution by using two pointers to iterate the array instead of finding combinations from the map.