Python simple solution
\nclass Solution:\n    def decodeCiphertext(self, encodedText: str, rows: int) -> str:\n        n = len(encodedText)\n        res = []\n        cols = n // rows
```\nclass Solution:\n    def decodeCiphertext(self, encodedText: str, rows: int) -> str:\n        n = len(encodedText)\n        res = []\n        cols = n // rows\n        \n        for i in range(cols):\n            for j in range(i, n, cols+1):\n                res.append(encodedText[j])  # it is observed that skipping cols+1 from a given pos gives the required char\n                \n        return \'\'.join(res).rstrip(\' \')  # removes trailing spaces from right\n```
['Python', 'Python3']