divide and conquer method in data structure