---
title: "Discussion on \"Problem: Zigzag Conversion\" | Hashnode"
description: "Discussion on \"Problem: Zigzag Conversion\". 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)\n\nP   A   H   N\nA P L S I I G\nY   I   R\nAnd then read line by line: \"PAHNAPLSI..."
url: "https://hashnode.com/posts/problem-zigzag-conversion/62ee7ac5e3a3793580e0087e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Problem: Zigzag Conversion](https://mackph.hashnode.dev/problem-zigzag-conversion?utm_source=hashnode&utm_medium=feed)

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: "PAHNAPLSI...

Aug 6, 2022 · 2 min read · mackph.hashnode.dev  
Updated Aug 8, 2022  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#problem-solving-skills](https://hashnode.com/tag/problem-solving-skills)
-   [#coding-challenge](https://hashnode.com/tag/coding-challenge)
-   [#problems](https://hashnode.com/tag/problems)

## Written by

[ANKUSH KUMAR](https://hashnode.com/@akankushjnvku)

@akankushjnvku · India

  
[View profile](https://hashnode.com/@akankushjnvku)

I am an intermediate back-end developer, graphic and Adobe designer working for the past few years.

({MERN Stack Developer at mackph}) | &lt;Ex-Internshala Student Partner(ISP 16)&gt; | &lt;5 star coder at Hackerrank&gt; | &lt;Self employed at Mackph&gt; | &lt;GSSoC '22 Contributor&gt; | &lt;Ex-Campus Ambassador at International MUN&gt;

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
