Definition for singly-linked list.
| 7 | |
| 8 | // Definition for singly-linked list. |
| 9 | struct ListNode { |
| 10 | int val; |
| 11 | ListNode *next; |
| 12 | ListNode(int x) : val(x), next(NULL) {} |
| 13 | }; |
| 14 | |
| 15 | class Solution { |
| 16 | public: |
nothing calls this directly
no outgoing calls
no test coverage detected