![]() |
linked-list-cycle 1.0.0
Linked List Cycle
|
Definition for singly-linked list. More...

Public Member Functions | |
| ListNode (int x) | |
Data Fields | |
| int | val |
| ListNode * | next |
| ListNode* ListNode::next |
Definition at line 11 of file main.cpp.
Referenced by create_list(), delete_list(), Solution::has_cycle_2(), Solution::hasCycle(), and print_list().
| int ListNode::val |
Definition at line 10 of file main.cpp.
Referenced by print_list().