Zigzag Conversion
Medium
Simulation & Implementation
Write a string in a zigzag pattern on a given number of rows, then read it line by line and print the result.
Constraints
1 <= len(s) <= 1000 1 <= numRows <= 1000
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.