You are given an integer array nums representing target values and an integer space.
Choosing a seed value nums[i] allows you to destroy every target in nums that can be expressed as nums[i] + c * space, where c
Return the minimum value of nums[i] that destroys the maximum possible number of targets.
Constraints:
nums.length
nums[i]
space
You are given an integer array nums representing target values and an integer space.
Choosing a seed value nums[i] allows you to destroy every target in nums that can be expressed as nums[i] + c * space, where c
Return the minimum value of nums[i] that destroys the maximum possible number of targets.
Constraints:
nums.length
nums[i]
space