The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: P A H N A P L S I I G Y I R. And then read line by line: "PAHNAPLSIIGYIR". Write the code that will take…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.