practice divide and conquer