Max sum path in two arrays | GfG Problem of the Day | Arrays