Skip to content

Implement merge sorted list#308

Open
sidrachaudhari wants to merge 1 commit intohaoel:masterfrom
sidrachaudhari:feature/first-bad-version-fix
Open

Implement merge sorted list#308
sidrachaudhari wants to merge 1 commit intohaoel:masterfrom
sidrachaudhari:feature/first-bad-version-fix

Conversation

@sidrachaudhari
Copy link

No description provided.

@sidrachaudhari
Copy link
Author

Problem

Merge Two Sorted Lists

Approach

Used iterative approach with dummy node.
Time Complexity: O(n + m)
Space Complexity: O(1)

Notes

Handles null inputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant