bitonic subsequence. You need to find the sum of the maximum sum path to reach from beginning of any array to end of any of the two arrays. You can switch from one array to another array only at common elements.
what does the above line mean?
what is bitonic subsequence? and further what does reach from beginning to end by switching mean?