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

[NEW ALGORITHM] Intersection of Two Linked Lists #1581

Closed
2 tasks done
SKG24 opened this issue Nov 2, 2024 · 1 comment
Closed
2 tasks done

[NEW ALGORITHM] Intersection of Two Linked Lists #1581

SKG24 opened this issue Nov 2, 2024 · 1 comment

Comments

@SKG24
Copy link
Contributor

SKG24 commented Nov 2, 2024

Issue will be closed if:

  1. You mention more than one algorithm. You can create a separate issue for each algorithm once the current one is completed.
  2. You propose an algorithm that is already present or has been mentioned in a previous issue.
  3. You create a new issue without completing your previous issue.

Note: These actions will be taken seriously. Failure to follow the guidelines may result in the immediate closure of your issue.


Name:

[Intersection of Two Linked Lists]

About:

Propose a new algorithm to be added to the repository
Given the heads of two singly linked-lists headA and headB, return the node at which the two lists intersect. If the two linked lists have no intersection at all, return null.

Input: listA = [4,1,8,4,5], listB = [5,6,1,8,4,5]

Screenshot 2024-11-02 at 10 27 43 PM
Output: Intersected at '8'


Labels:

new algorithm, gssoc-ext, hacktoberfest, level1


Assignees:

  • Contributor in GSSoC-ext
  • Want to work on it
@pankaj-bind
Copy link
Collaborator

assigned

SKG24 added a commit to SKG24/C that referenced this issue Nov 4, 2024
Given the heads of two singly linked-lists, `headA` and `headB`, return the node at which the two lists intersect. If the two linked lists have no intersection at all, return `NULL`.
pankaj-bind added a commit that referenced this issue Nov 4, 2024
added intersection of two linked list #1581
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants