Get the Maximum Score
Get the Maximum Score asks you to follow one of two sorted arrays, switching at shared values, to maximize the sum of distinct visited numbers and return it 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.
A ...