Can you get the loop ? Time : Space : 12345678910111213141516int getLoopSize(Node* startNode){ Node *slow = startNode; Node *fast = startNode; do { slow = slow->getNext(); fast = fast->getNext()->getNext(); } while(slow != fast); int res = 0; Node* runner = slow; do { runner = runner->getNext(); res += 1; }while(runner != slow); return res;}