[PR #886] [CLOSED] Algorithm to Split linked list into even and odd integers linked list. #1403

Closed
opened 2026-01-29 15:20:13 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/886
Author: @the-suman
Created: 10/15/2021
Status: Closed

Base: masterHead: master


📝 Commits (3)

  • 579a044 Algorithm to Split linked list into even and odd integers linked list.
  • 38bf06d Merge branch 'TheAlgorithms:master' into master
  • 74a4602 Added documentation and test cases

📊 Changes

1 file changed (+169 additions, -0 deletions)

View changed files

data_structures/linked_list/split_linked_list_even_odd.c (+169 -0)

📄 Description

Added an algorithm in C for splitting the given linked list into even and odd integer linked list.

As for example:-
Suppose my given linked list is: 12 45 30 7 10000 789
Then the result will be:
The even integer linked list is: 12 30 10000
The odd integer linked list is: 45 7 789


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/TheAlgorithms/C/pull/886 **Author:** [@the-suman](https://github.com/the-suman) **Created:** 10/15/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (3) - [`579a044`](https://github.com/TheAlgorithms/C/commit/579a04407f8f0202be964d418a5ac099d3fb2423) Algorithm to Split linked list into even and odd integers linked list. - [`38bf06d`](https://github.com/TheAlgorithms/C/commit/38bf06da3e1c6eaeb262386049afaa7b98954620) Merge branch 'TheAlgorithms:master' into master - [`74a4602`](https://github.com/TheAlgorithms/C/commit/74a46020084336630ef24414b66f84ddb1f5a817) Added documentation and test cases ### 📊 Changes **1 file changed** (+169 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `data_structures/linked_list/split_linked_list_even_odd.c` (+169 -0) </details> ### 📄 Description Added an algorithm in C for splitting the given linked list into even and odd integer linked list. As for example:- Suppose my given linked list is: 12 45 30 7 10000 789 Then the result will be: The even integer linked list is: 12 30 10000 The odd integer linked list is: 45 7 789 <a href="https://gitpod.io/#https://github.com/TheAlgorithms/C/pull/886"><img src="https://gitpod.io/button/open-in-gitpod.svg"/></a> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 15:20:13 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1403