structure of divide and conquer algorithm in daa