UTSAVS26 / PyVerse

PyVerse is an open-source collection of diverse Python projects, tools, and scripts, ranging from beginner to advanced, across various domains like machine learning, web development, and automation.
https://sites.google.com/view/pyverse-python-universe/
MIT License
66 stars 191 forks source link

[Code Addition Request]: I would like to add linked list algorithm, clone linked list with random connection #881

Open SKG24 opened 2 hours ago

SKG24 commented 2 hours ago

Have you completed your first issue?

Guidelines

Latest Merged PR Link

This is my first issue

Project Description

Given a linked list where each node has a next pointer to the next node in the list and a random pointer that can point to any node in the list (or be NULL), create a deep copy (clone) of the list. The cloned list should have nodes with the same values and maintain the same next and random pointers structure as the original list.

Explanation of Solution

Full Name

Sanat Kumar Gupta (@skg24)

Participant Role

gssoc-ext, hackoctoberfest

github-actions[bot] commented 2 hours ago

🙌 Thank you for bringing this issue to our attention! We appreciate your input and will investigate it as soon as possible.

Feel free to join our community on Discord to discuss more!

SKG24 commented 2 hours ago

Please assign this to me