Skip to content

Add rotate_linkedlist.cpp – rotate singly linked list by k nodes#8

Open
mnvrohith wants to merge 1 commit intodhawal999:mainfrom
mnvrohith:main
Open

Add rotate_linkedlist.cpp – rotate singly linked list by k nodes#8
mnvrohith wants to merge 1 commit intodhawal999:mainfrom
mnvrohith:main

Conversation

@mnvrohith
Copy link

Added a LinkedList class in C++ with addFirst, display, and rotate methods.Implements rotation of a singly linked list by k nodes in-place.Simple, self-contained, and ready to be used in other programs or extended.Includes clear comments and easy-to-follow structure for learning and reuse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant