mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-04 05:44:35 +00:00
[FEATURE] Add reverse() function to doubly_linked_list.c
#110
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ybrenning on GitHub (Jan 17, 2022).
Detailed description
Add a simple function
reverse()to reverse a given doubly linked list.Context
It is a very common algorithm for linked lists and is quite easy to implement for doubly linked lists especially.
Possible implementation
No response
Additional information
No response