0
/ 50
Given two arrays of the same length, nums1
and nums2
, for every element in nums1
, consider the corresponding element in nums2
(at the...
Given two arrays of the same length, nums1
and nums2
, for
every element in nums1
, consider the corresponding element
in nums2
(at the same index). Return a count of the number of
times that the two elements differ by 2 or less, but are not equal.
Your feedback will appear here when you check your answer.