Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
How can you use rows and encodedText to find the number of columns of the matrix?
Once you have the number of rows and columns, you can create the matrix and place encodedText in it. How should you place it in the matrix?
How should you traverse the matrix to "decode" originalText?