#include<iostream> using namespace std; /* struct ListNode { int val; struct ListNode *next; ListNode(int x) : val(x), next(NULL) { } }; */ class Solution { public: ListNode* EntryNodeOfLoop(ListNode* pHead) { int hashmap[10001]={0}; ListNode* p=pHead; while(p) { if(hashmap[p->val]==0) hash...