首页 > TAG信息列表 > tempHead

408 数据结构算法题2019

#include<iostream> using namespace std; struct node { int data; struct node* next; }; node* solustion(node* head) { node* fast = head, * slow = head; while ( fast != NULL&& fast->next != NULL) { if (fast == head)