Skip to content

Reversal #1

@rubychilds

Description

@rubychilds

Hi,

Found this on Medium - reminding me all about linked lists! This is great and extremely elegant. The only problem I see is where we have to reverse the linked list. Reversal itself is pretty simple, but as we start from the initial node, it now points at None and hence you need to keep track of some form of ordering of the nodes themselves

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions