Maximum Sum Path In Two Arrays Leetcode