divide and conquer algorithm in daa