3115. Maximum Prime Difference
You are given an integer array
nums
.Return an integer that is the maximum distance between the indices of two (not necessarily different) prime numbers in
nums
.
1 | int sieve[111]; |
3115. Maximum Prime Difference
You are given an integer array
nums
.Return an integer that is the maximum distance between the indices of two (not necessarily different) prime numbers in
nums
.
1 | int sieve[111]; |