In the class SinglyLinkedList, add a method shiftLeft(), that shifts the all the elements to the left,
Fantastic news! We've Found the answer you've been seeking!
Question:
In the class SinglyLinkedList, add a method shiftLeft(), that shifts the all the elements to the left, and puts the first element last. Test your method in the main with a list of letters. You will lose marks for not testing, and also if the code is not running. E.g.: List before calling the method: A B C D List after calling the method: B C D A
Related Book For
Cost Accounting Foundations and Evolutions
ISBN: 978-1111626822
8th Edition
Authors: Michael R. Kinney, Cecily A. Raiborn
Posted Date: