class Solution {
public:
    ListNode *detectCycle(ListNode *head) {
        
    }
};
I am learning C++. I don't have much experience with it so I don't know the term which I can google to get the meaning of the pointer in the function header. What is *detectCycle? What is the use for it? It can be a basic question but I really don't have any idea about it. Thanks.
 
    