【數據結構】 動態鏈表的基本操做

動態鏈表的基本操做 #include<iostream> using namespace std; struct node{ int data; node* next; }; //建立鏈表 node *create(int Array[],int n){ node *p, *pre, *head; head=new node; head->next=NULL; pre=head; f
相關文章
相關標籤/搜索