mohit-dhote / Codify-Platform

Raise Genuine PRs, Your PRs will be accepted, Don't forget to spread love and if you like give us a ⭐️you aren't allowed to Update README.md
https://hacktoberfest.com
GNU General Public License v3.0
30 stars 49 forks source link

Add Boundary Traversal of Matrix.CPP #47

Closed Ash0807 closed 1 year ago

Ash0807 commented 1 year ago

Describe the Issue We have given a matrix of dimensions n x m. The task is to perform boundary traversal on the matrix in a clockwise manner.

Sample Input: n = 4, m = 4 matrix[ ][ ] = {{1, 2, 3, 4}, {5, 6, 7, 8}, {9, 10, 11, 12}, {13, 14, 15,16}}

Sample Output: 1 2 3 4 8 12 16 15 14 13 9 5

Additional context (optional) @mohit-dhote can you please assign this issue to me @Ash0807 under Hacktoberfest label

mehadishakil commented 1 year ago

I'd like to work on this. Can you assign it to me with the 'Hacktoberfest' label?