Computer Science, asked by rahulrajgenius9431, 1 year ago

Given 2 sorted arrays (in increasing order), find a path through the intersections that produces maximum sum and return the maximum sum. That is, we can switch from one array to another array only at common elements. If no intersection element is present, we need to take sum of all elements from the array with greater sum.

Answers

Answered by prithvi444
0

Answer:

let the sum be X and Y

x+y =0

x -y =0

Similar questions