Redirecting to Maximum subarray problem