Search
⌘K
Leetcode 2075. Decode the Slanted Ciphertext
Reverse a slanted transposition cipher: encodedText is produced by reading a rows×cols matrix row-by-row after originalText was placed along top-left-to-bottom-right diagonals (with spaces padded), so given encodedText and rows reconstruct the matrix and recover the original text by reading the characters along those diagonals (trimming trailing spaces).
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.