Zigzag Conversion
Medium📝 Description
Convert string to zigzag pattern and read row-wise
Input Format
String s and integer numRows
Output Format
Converted string
Constraints
1 ≤ s.length ≤ 1000
🔍 Sample Input
"PAYPALISHIRING"
3
✅ Sample Output
"PAHNAPLSIIGYIR"
Code Editor
Please login to run and submit code.
Results
Suggested Solution
Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run