mirror of
https://github.com/TheAlgorithms/Java.git
synced 2026-03-13 08:40:43 +08:00
@@ -47,7 +47,6 @@ public class PrintAMatrixInSpiralOrder {
|
||||
}
|
||||
|
||||
row--;
|
||||
|
||||
}
|
||||
|
||||
// print columns from first except printed elements
|
||||
@@ -57,9 +56,7 @@ public class PrintAMatrixInSpiralOrder {
|
||||
}
|
||||
c++;
|
||||
}
|
||||
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user