C++ - 2D Matrix
- Manipulate rows and column of a 2D matrix built using Linked Lists
- Build an m-by-n (row-by-column) matrix (max size: 8-by-8)
Operations available to manipulate the data in the matrix:
- Right Circular Shift: A particular row of a matrix performs a circular shift to the right by one cell.
- Left Circular Shift: A particular row of a matrix performs a circular shift to the left by one cell.
- Up Circular Shift: A particular column of a matrix performs a circular shift upward by one cell.
- Down Circular Shift: A particular column of a matrix performs a circular shift downward by one cell.
- Reverse Row: A particular row of a matrix is flipped.
Assumptions and Important Notes:
- Row and column numbers are counted from the index 0
- The data inside the Matrix are numbers arranged in ascending order when a Matrix is built
- Program ends when the Matrix is in reverse order, i.e. the numbers in each row are arranged in descending order