O(n^3 logn) - Find Quadruplets