MCPcopy Create free account
hub / github.com/Ayush7614/Daily-Coding-DS-ALGO-Practice / main

Method main

Gfg/Java/rotate matrix.java:43–51  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

41// Driver code
42
43 public static void main (String[] args)
44 {
45 int arr[][] = { { 1, 2, 3, 4 },
46 { 5, 6, 7, 8 },
47 { 9, 10, 11, 12 },
48 { 13, 14, 15, 16 } };
49 rotate90Clockwise(arr);
50 printMatrix(arr);
51 }
52}
53
54// This code has been contributed by Bharat Tyagi

Callers

nothing calls this directly

Calls 2

rotate90ClockwiseMethod · 0.95
printMatrixMethod · 0.95

Tested by

no test coverage detected