PyVerse is an open-source collection of diverse Python projects, tools, and scripts, ranging from beginner to advanced, across various domains like machine learning, web development, and automation.
In this question, we are supposed to segregate the even numbered nodes from odd numbered nodes in such a way that odd numbered nodes are before even nodes.
Example
Input: 1->2->3->4->5->6
Output: 1->3->5->2->4->6
Have you completed your first issue?
Guidelines
Latest Merged PR Link
https://github.com/UTSAVS26/PyVerse/issues/932?notification_referrer_id=NT_kwDOB1hSm7UxMzA5Nzc2NDgzOToxMjMyMjg4Mjc#issuecomment-2445681289
Project Description
Name: Segregate Even and Odd node
In this question, we are supposed to segregate the even numbered nodes from odd numbered nodes in such a way that odd numbered nodes are before even nodes.
Example Input: 1->2->3->4->5->6 Output: 1->3->5->2->4->6
Full Name
Sanat Kumar Gupta
Participant Role
gssoc-ext, hacktoberfest