Skip to content

Commit d36cf68

Browse files
authored
Merge pull request #9 from Flashky/feature/day12
Feature/day12
2 parents 4d3cd0f + 7239eb4 commit d36cf68

File tree

3 files changed

+108
-431
lines changed

3 files changed

+108
-431
lines changed

src/main/java/com/adventofcode/flashk/common/Array2DUtil.java

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,6 @@ public static char[][] transpose(char[][] array) {
2121
return transposedArray;
2222
}
2323

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-
3724
/**
3825
* Paints the given array.
3926
* @param map the array to paint

0 commit comments

Comments
 (0)