Skip to content

Commit

Permalink
Update reverse.java
Browse files Browse the repository at this point in the history
This reverses 2D arrays, you can further use it solving matrices problems
  • Loading branch information
ashu273k authored Oct 31, 2024
1 parent 89ab669 commit b7bf376
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Java/reverse.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public static void main(String[] args) {
}
System.out.println();
}
in.close();
}
public static int[][] Reverse(int[][] image)
{
Expand All @@ -44,4 +45,4 @@ public static int[][] Reverse(int[][] image)
}


}
}

0 comments on commit b7bf376

Please sign in to comment.