Four sum question from leet code