You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Java demos for basic data structures and algorithms
1: Rotate Matrix
Given an image represented by an NXN matrix, write a method to rotate the image 90 degrees.
To Run:
javac rotateMatrix.java
java rotateMatrix
Enter matrix size: n
About
Java demos for basic data structures and algorithms