divide and conquer approach in data structure