Is your feature request related to a problem? Please describe.
N/A
Describe the solution you'd like
I would like to add a simple reverse() method to the TailedDoublyLinkedList class which would reverse the order of the current Linked List. Doubly Linked Lists are especially convenient for this algorithm as they allow you to swap previous and next reference pointers. I would like to add this method to the class as it is a fairly common algorithm and should be included in this implementation.
Describe alternatives you've considered
N/A
Additional context
N/A
Is your feature request related to a problem? Please describe.
N/A
Describe the solution you'd like
I would like to add a simple
reverse()method to theTailedDoublyLinkedListclass which would reverse the order of the current Linked List. Doubly Linked Lists are especially convenient for this algorithm as they allow you to swap previous and next reference pointers. I would like to add this method to the class as it is a fairly common algorithm and should be included in this implementation.Describe alternatives you've considered
N/A
Additional context
N/A