Divide-and-conquer
unified method