Python solution with Explanation | Approach
First we need to understand the format in which the encrypted answer is given. We get it in the length of (math.ceil(len(encodedText)/rows)).\nNow just start 2 
First we need to understand the format in which the encrypted answer is given. We get it in the length of (math.ceil(len(encodedText)/rows)).\nNow just start 2 for loops. One for the ith element and the other for the row. \nIf we visualize it becomes,\nFIrst word first letter, Second Word second letter, Third word third letter till end\nThen the next time it\'s First word second letter, second word third letter and so on.\n\n\n\n```\ndef decodeCiphertext(self, encodedText: str, rows: int) -> str:\n        n = (math.ceil(len(encodedText)/rows))\n        if rows==1:\n            return encodedText\n        if n==0:\n            return ""\n        out = [(encodedText[i:i+n]) for i in range(0, len(encodedText), n)]\n        res = ""\n        for i in range(n):\n            for j in range(0,rows):\n                try:\n                    if j+i<=n:\n                        res += out[j][j+i]\n                    else:\n                        return res\n                except:\n                    return res.rstrip()\n\t```\n\t\n\tNot the best explaination but I learning how to explain my approach to others. Do ask if any doubt.
['Python3']