6. Zigzag Conversion - Litcode

Опубликовано: 30 Сентябрь 2024
на канале: Lit Code
340
2

Leetcode Daily Challenge - February 3, 2023
Leetcode 6. Zigzag Conversion - Python Solution

Solution URL: https://leetcode.com/problems/zigzag-...

Problem Statement
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)

P A H N
A P L S I I G
Y I R
And then read line by line: "PAHNAPLSIIGYIR"

Support the channel by subscribing and hitting the like button.

Litcode Playlist: https://bit.ly/3uGBSHx

LinkedIn:   / sachin-singh-ss31  
Email: [email protected]

#leetcode #leetcodesolution #leetcodedailychallenge #codingpractice #learnpython #python #googleinterview #amazoninterviewpreparation #zigzag #zigzagtutorial