Java
Java copied to clipboard
Updated SinglyLinkedList.java, added a rotate Function
Describe your change:
- [x] --> Added A Function that rotates the LinkedList by K nodes where K is less than or equal to the length of LinkedList.
Checklist:
- [x] --> I have read CONTRIBUTING.md.
- [x] --> This pull request is all my own work -- I have not plagiarized.
- [x] --> I know that pull requests will not be merged if they fail the automated tests.
- [x] --> This PR only changes one algorithm file. To ease review, please open separate PRs for separate algorithms.
- [x] --> All functions and variable names follow Java naming conventions.
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Please reopen this pull request once you commit the changes requested or make improvements on the code. If this is not the case and you need some help, feel free to seek help from our Gitter or ping one of the reviewers. Thank you for your contributions!