C++  Observation | beginner Level |
jumping columns \n\'\'\'\n\n        string decodeCiphertext(string encodedText, int rows) {\n        int n = encodedText.size();\n        string str = "";\n    
jumping columns \n\'\'\'\n\n        string decodeCiphertext(string encodedText, int rows) {\n        int n = encodedText.size();\n        string str = "";\n        \n        //exceptional case of str = "" \n        if(n == 0) return str;\n       \n        int col = n/rows ;\n       // col times\n        for(int i = 0; i<col; i++){\n            \n         //((row*col)/ col+1)\n            for(int j = i; j< n; j+= col + 1){\n                \n              str +=   encodedText[j];\n            }\n        }\n        // removes end spaces \n        while(str[str.size()-1] == \' \') str.pop_back();\n        return str;\n        \n    }\n\t\n\t\'\'\'
['C']