Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added merge of two sorted list #1805 #1819

Closed
wants to merge 0 commits into from
Closed

Conversation

SKG24
Copy link
Contributor

@SKG24 SKG24 commented Nov 4, 2024

Merge the two lists into one sorted list. The list should be made by splicing together the nodes of the first two lists. We are supposed to return the head of the merged linked list.

📥 Pull Request

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

I have added entire cpp code to merge two sorted linked list into one list.

Screen.Recording.2024-11-04.at.9.50.42.PM.mov

Fixes: #1805

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@SKG24 SKG24 requested a review from ajay-dhangar as a code owner November 4, 2024 16:21
Copy link

github-actions bot commented Nov 4, 2024

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible.). If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

Copy link

github-actions bot commented Nov 4, 2024

⚡️ Lighthouse Report for the Deploy Preview of this PR 🚀

🔗 Site: Algo | Live Site

URL 🌐 Performance Accessibility Best Practices SEO 📊
/algo/ 🟡 72 🟢 96 🟡 71 🟡 86 📄
/algo/docs 🔴 46 🟢 96 🟡 75 🟢 100 📄
/algo/blog 🟡 67 🟢 92 🟢 96 🟡 86 📄

@SKG24 SKG24 changed the title Closes: #1805 added the algorithm added merge of two sorted list #1805 Nov 4, 2024
@SKG24 SKG24 closed this Nov 4, 2024
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.

[Idea]: Merge Two Sorted List
1 participant