give 0indexed integer array num return small index num mod 10 numsi 1 index existx mod y denote remainder x divide y Example 1input num 012output 0explanation i0 0 mod 10 0 nums0i1 1 mod 10 1 nums1i2 2 mod 10 2 nums2all index mod 10 numsi return small index 0example 2input num 4321output 2explanation i0 0 mod 10 0 nums0i1 1 mod 10 1 nums1i2 2 mod 10 2 nums2i3 3 mod 10 3 nums32 index mod 10 numsiExample 3input num 1234567890output 1explanation no index satisfy mod 10 numsi Constraints1 numslength 1000 numsi 9