Solved 4 Sum problem