Skip to content

Title: To Add Merge Two Linked Lists Algorithm #79

@Armunshi

Description

@Armunshi

Initiative (Required)

Hacktoberfest 2024 🎃

Is your feature request related to a problem? Please describe.

I will be providing an efficient Algorithm that merges two Sorted Linked lists in O(m+n) time where m and n are the lengths of each of the lists respectively

Describe the solution you'd like.

The Algorithm Works by using pointers over both linked lists and connecting their link based on which node is lesser than the other for example if the pointer on the node in the second lists points to a value less than that of the pointer on the first node then the pointer on the first node will point to the second node and thus by changing the links we achieve an efficient solution

Add any other context or screenshots about the feature request here.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Assigned📋This issue has been assigned to you!Closed:🚫This issue or PR is closed due to invalidity or prolonged inactivity and lack of updates.No_UpdateIt's been so long you are not responding to this issue so we are going to close the issue soon.hacktoberfest2024Your contribution is part of Hacktoberfest 2024! 🎉

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions