Last active
September 14, 2023 18:15
-
-
Save rohanjai777/8288aae29acfd96fd7cc4b5deaefdbd0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for(int i=0;i<m;i++){ //row wise | |
for(int j=0;j<n;j++){ | |
// matrix[i][j]) | |
} | |
} | |
for(int i=0;i<n;i++){ //column wise | |
for(int j=0;j<m;j++){ | |
// matrix[j][i] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment