mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-04 05:44:35 +00:00
[PR #935] feat: add reverse() function
#1470
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?
Original Pull Request: https://github.com/TheAlgorithms/C/pull/935
State: closed
Merged: No
Description of Change
Added implementation of a
reverse()function which takes a pointer to the head node of a doubly linked list and returns the linked list in reversed order. Also updated/added documentation and example use case in theexample()function.References
Closes #934
Checklist
Notes: Implementation of linked list reversal.