We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4d3cd0f + 7239eb4 commit d36cf68Copy full SHA for d36cf68
src/main/java/com/adventofcode/flashk/common/Array2DUtil.java
@@ -21,19 +21,6 @@ public static char[][] transpose(char[][] array) {
21
return transposedArray;
22
}
23
24
- /*
25
- public static <T> T[][] transpose(T[][] array) {
26
- int rows = array.length;
27
- int cols = array[0].length;
28
- char[][] transposedArray = new char[cols][rows];
29
- for(int row = 0; row < rows; row++) {
30
- for(int col = 0; col < cols; col++) {
31
- transposedArray[col][row] = array[row][col];
32
- }
33
34
- return transposedArray;
35
- }*/
36
-
37
/**
38
* Paints the given array.
39
* @param map the array to paint
0 commit comments