We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
this is my java sol and this it is passing all the tese cases. can anyone give me the suggetion to improve my code
public static void printMatrix(List> matrix){
for(int i=0;i> matrix, int r) {
// Write your code here
int row = matrix.size();
int col = matrix.get(0).size();
Matrix Layer Rotation
You are viewing a single comment's thread. Return to all comments →
hello everyone
this is my java sol and this it is passing all the tese cases. can anyone give me the suggetion to improve my code public static void printMatrix(List> matrix){ for(int i=0;i> matrix, int r) { // Write your code here int row = matrix.size(); int col = matrix.get(0).size();
}