using c++ concepts of data structure
Make a doubly linked list, take n inputs. Print it.Now, swap any two nodes (picked by the user), and print the list again. The node will be pickedon the basis of their value.Note: You have to swap the Node, by managing the links between them. NOT JUST THEVALUE INSDE THEM.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here