OpenGenus / cosmos

World's largest Contributor driven code dataset | Used in Quark Search Engine, @OpenGenus IQ, OpenGenus Visual Project
http://internship.opengenus.org
GNU General Public License v3.0
13.56k stars 3.67k forks source link

Create pairwise_swap_on_linked_list.cpp #6666

Closed amanansari247 closed 1 year ago

amanansari247 commented 1 year ago

Fixes issue:

Check if the linked list is palindrome or not It solves the problem in which we can swap the value or nodes of linked list and swaps pairwise

Changes:

Created a new File of solution which swaps the linked list data pairwise