Question: Difference of Two IN JAVA Problem: code a method to find the biggest difference between any two values in two integer matrices. Data: Two matrices
Difference of Two
IN JAVA
Problem: code a method to find the biggest difference between any two values in two integer matrices.
Data: Two matrices which may be empty but will not be null.
Output: Return the biggest difference between the two matrices.
Sample Data [ 1, 2, 3 ] , [ 4, 5 ] - [ 4, -5 ] , [ 73, 2, 8 ],[ 50 ] [[ 1, 2, 3 ] , [ -76, 345 ]], [[ -11 ], [ -12, -83 ] , [ 0 ] ] Sample Output 78 428
int go(int[][] matOne, int[][] matTwo) { // your code goes here }
please use the given format
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
