divide and conquer method involves