#DailyCodingChallenge Day 272 Task: Find the integer x that was added to every element of nums1 to make it equal to nums2. Solution: Sort both arrays and return the difference between their smallest elements, which gives the added integer x. #LeetCode

coder_s_Snippet's tweet image. #DailyCodingChallenge
Day 272
Task: Find the integer x that was added to every element of nums1 to make it equal to nums2.
Solution: Sort both arrays and return the difference between their smallest elements, which gives the added integer x.
#LeetCode

United States 趨勢
Loading...

Something went wrong.


Something went wrong.