---
title: "Discussion on \"Geeksforgeeks: Wave Array\" | Hashnode"
description: "Discussion on \"Geeksforgeeks: Wave Array\". Problem: https://www.geeksforgeeks.org/problems/wave-array-1587115621/1\nfrom typing import List\nclass Solution:\n    def _swap(self, arr: List[int], index: int)->None:\n        \"\"\"\n        I just swap two elements.\n        In Place manipulation, no ret..."
url: "https://hashnode.com/posts/geeksforgeeks-wave-array/690236aa9072f90f365a58cd"
---

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

Discussion

# [Geeksforgeeks: Wave Array](https://is-power-of-two.hashnode.dev/geeksforgeeks-wave-array?utm_source=hashnode&utm_medium=feed)

Problem: https://www.geeksforgeeks.org/problems/wave-array-1587115621/1 from typing import List class Solution: def \_swap(self, arr: List\[int\], index: int)->None: """ I just swap two elements. In Place manipulation, no ret...

Oct 29, 2025 · 2 min read · is-power-of-two.hashnode.dev  
Read the article

-   [#geeksforgeeks](https://hashnode.com/tag/geeksforgeeks)
-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#python](https://hashnode.com/tag/python)
-   [#coding](https://hashnode.com/tag/coding)
-   [#build-in-public](https://hashnode.com/tag/build-in-public)

## Written by

[Shahwar Alam Naqvi](https://hashnode.com/@shahwar01)

@shahwar01

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

Coder

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
