Skip to content

visualization for the "Reverse List" operation. #178

Description

@Krishtiy

Hi, I'd like to enhance the existing Linked List page by adding a visualization for the "Reverse List" operation.

This is a classic and important algorithm, and having a step-by-step animation would be a great educational addition for users.

Here is my implementation plan:

  1. Add a "Reverse" button to the controls panel.
  2. Implement the logic to generate an array of animation "steps" for the iterative (three-pointer) reversal method.
  3. Add a playback engine using useEffect and setTimeout to play these animation steps, highlighting the pointers as they change.

Please let me know if you are open to this contribution or have any suggestions on the approach. I'm ready to start working on a pull request.

Thank you!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions