Skip to content

Add a reverse() method to Linked List implementation  #85

Description

@ybrenning

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

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions