There will always be at least one prime in the matrix.
Example:
Input in = [ 8 3 5 9 ] Output out is 4 or (3+5)/2
Find the two most distant points
1016 Solvers
693 Solvers
All your base are belong to us
394 Solvers
506 Solvers
267 Solvers
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply Today