divide and conquer general method in daa