divide and conquer algorithm examples in daa