Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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.
4
struct ListNode {
5
int val;
6
ListNode *next;
7
ListNode(int x) : val(x), next(NULL) {}
8
};
9
10
class Solution {
11
public:
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected