Given two sorted arrays, find the maximum sum path that can be obtained by starting in either array, traversing through elements, and switching between arrays at common elements.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.