Skip to content

Reverse a given linked list. #2485

@Simran1604

Description

@Simran1604

Is your feature request related to a problem? Please describe.
I would like to add the code for reversing a given linked list.

Describe the solution you'd like
By changing the previous and current pointers pointing at a node, this can be achieved very smoothly.

Describe alternatives you've considered
I would provide the algorithm as well as the code with output for better understanding.

Please assign me this issue and consider it for the Hacktoberfest 2021
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions