Skip to content

Add Odd-Even Linked List reordering algorithm (two-pointer approach)#305

Merged
ayushHardeniya merged 1 commit into
HarshitPachori:mainfrom
Shuklax:feat/odd-even-linked-list
Nov 1, 2025
Merged

Add Odd-Even Linked List reordering algorithm (two-pointer approach)#305
ayushHardeniya merged 1 commit into
HarshitPachori:mainfrom
Shuklax:feat/odd-even-linked-list

Conversation

@Shuklax
Copy link
Copy Markdown
Contributor

@Shuklax Shuklax commented Oct 31, 2025

This contribution includes:

-> Creating a new file odd_even_linked_list.js inside dsa/linkedlist/.
-> Implementing a function that groups nodes at odd indices first, followed by nodes at even indices.
-> Adding explanatory comments, dry-run example, and console test.

Fixes #297

@github-actions
Copy link
Copy Markdown

🧩 PR Checklist

Hi @Shuklax, before merging please ensure:

  • Updated contributor.md
  • Added proper commit message
  • Verified build/test success ✅

@github-actions
Copy link
Copy Markdown

⭐ Hey @Shuklax, if you like this project, don't forget to star the repository! 🚀

@ayushHardeniya ayushHardeniya added enhancement New feature or request javascript labels Nov 1, 2025
@ayushHardeniya ayushHardeniya merged commit e6f5241 into HarshitPachori:main Nov 1, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request javascript

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add 'Odd even linked list' in JS

2 participants