D&C vs Dynamic Programming - When to Apply Divide and Conquer | OneNoughtOne