You are given an integer array nums.
Return the maximum distance between the indices of any two prime numbers in nums.
Constraints:
nums.length
nums[i]
The input is generated such that nums contains at least
You are given an integer array nums.
Return the maximum distance between the indices of any two prime numbers in nums.
Constraints:
nums.length
nums[i]
The input is generated such that nums contains at least