MCPcopy Create free account
hub / github.com/EricPengShuai/Interview / ListNode

Method ListNode

memo/listnode.cpp:12–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10 int val;
11 ListNode *next;
12 ListNode() : val(0), next(nullptr) {}
13 ListNode(int x) : val(x), next(nullptr) {}
14 ListNode(int x, ListNode *next) : val(x), next(next) {}
15};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected