---
title: "Discussion on \"Odd Even Linked List\" | Hashnode"
description: "Discussion on \"Odd Even Linked List\". Problem statement\nGiven the head of a singly linked list, group all the nodes with odd indices together followed by the nodes with even indices, and return the reordered list.\nThe first node is considered odd, and the second node is even, and so on.\n..."
url: "https://hashnode.com/posts/odd-even-linked-list/64943d71f012983651c320d6"
---

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

Discussion

# [Odd Even Linked List](https://alkesh26.hashnode.dev/odd-even-linked-list?utm_source=hashnode&utm_medium=feed)

Problem statement Given the head of a singly linked list, group all the nodes with odd indices together followed by the nodes with even indices, and return the reordered list. The first node is considered odd, and the second node is even, and so on. ...

Jun 22, 2023 · 7 min read · alkesh26.hashnode.dev  
Read the article

-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#go](https://hashnode.com/tag/go)
-   [#cpp](https://hashnode.com/tag/cpp)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Alkesh Ghorpade](https://hashnode.com/@alkesh26)

@alkesh26 · Pune, India

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

Senior Sofware Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
