Closed mugdhaPandey closed 2 years ago
Hello @mugdhaPandey, thanks for creating your first issue at LearnCPP, hope you followed the guidelines.
/assign
This issue has been assigned to mugdhaPandey! It will become unassigned if it is not closed within 12 days. A maintainer can also add the pinned label to prevent it from being unassigned.
This issue is stale because it has been open 3 days with no activity. Remove stale label or comment or this will be closed in 2 days.
This issue was closed because it has been stalled for 5 days with no activity. Please reopen this issue if not resolved.
Description
Given a matrix, print the matrix in spiral order. Input: mat[ ][ ] = { { 1, 2, 3, 4 }, { 5, 6, 7, 8 }, { 9, 10, 11, 12 }, { 13, 14, 15, 16 } }
Output: { 1, 2, 3, 4, 8, 12, 16, 15, 14, 13, 9, 5, 6, 7, 11, 10 }
The output of given matrix in spiral form.
Domain
CPP
Type of Contribution
Addition
Code of Conduct