數據結構複習——線性表的順序存儲實現

線性表有兩種方法實現,一種是順序存儲實現,另外一種是鏈表存儲實現。c++ 順序存儲說白了就是用數組去存儲。數組 簡單的實現了增,刪,查。spa #include<bits/stdc++.h> using namespace std; #define MAXSIZE 105 typedef struct { int data[MAXSIZE]; int Len; } List; vo
相關文章
相關標籤/搜索