Divide and conquer

Sign in to test your solution.