Get the Maximum Score
Get the Maximum Score asks you to choose a path through two sorted arrays, switching at common values to maximize the sum of unique visited elements modulo a large prime.
We'll cover the following...
We'll cover the following...
Statement
You are given two sorted arrays of distinct integers, nums1 and nums2. ...