Zigzag Conversion
๐ง Problem
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility) And then read line by line: "PAHNAPLSIIGYIR" Write the code that will take a string and make this conversion given a number of rows:
๐ท๏ธ Tags
String
๐ Difficulty
Medium
โ
Success Rate: 41.4%
๐ฅ Submissions: 1,804,469
๐ Accepted: 747,158
โค๏ธ Reactions
๐ Likes: 3570
๐ Dislikes: 8234