You are given two integer arrays, nums and divisors.
The divisibility score of an element divisors[j] is defined as the number of indices i such that nums[i] is divisible by divisors[j].
Return the integer in divisors that achieves the maximum divisibility score. If multiple values in divisors share the same maximum score, return the one with the smallest numeric value.
Constraints:
nums.length, divisors.length
nums[i], divisors[i]
You are given two integer arrays, nums and divisors.
The divisibility score of an element divisors[j] is defined as the number of indices i such that nums[i] is divisible by divisors[j].
Return the integer in divisors that achieves the maximum divisibility score. If multiple values in divisors share the same maximum score, return the one with the smallest numeric value.
Constraints:
nums.length, divisors.length
nums[i], divisors[i]