MCPcopy Create free account
hub / github.com/Ainevsia/Leetcode-Rust / ListNode

Class ListNode

160. Intersection of Two Linked Lists/Solution.cpp:4–8  ·  view source on GitHub ↗

Definition for singly-linked list.

Source from the content-addressed store, hash-verified

2
3// Definition for singly-linked list.
4struct ListNode {
5 int val;
6 ListNode *next;
7 ListNode(int x) : val(x), next(NULL) {}
8};
9
10class Solution {
11public:

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected