you give 0indexed integer array nums1 nums2 size n integer diff Find number pair j that0 j n 1 andnums1i nums1j nums2i nums2j diffreturn number pair satisfy condition Example 1input nums1 325 nums2 221 diff 1Output 3explanationthere 3 pair satisfy conditions1 0 j 1 3 2 2 2 1 since j 1 1 pair satisfie conditions2 0 j 2 3 5 2 1 1 since j 2 2 pair satisfie conditions3 1 j 2 2 5 2 1 1 since j 3 2 pair satisfie conditionstherefore return 3example 2input nums1 31 nums2 22 diff 1Output 0ExplanationSince exist pair satisfie condition return 0 Constraintsn nums1length nums2length2 n 105104 nums1i nums2i 104104 diff 104