explain divide and conquer method in daa