divide and conquer strategy is working