#include#include #define N 20 typedef char ElemType; typedef struct{ ElemType *elem; int length; }List_Sq; //顺序表初始化函数 void InitList_Sq(List_Sq *L){ L->elem = (ElemType *)malloc(sizeof(ElemType)*N); L->length = 0; } //创建顺序表函数 List_Sq CreateList_Sq(List_Sq L,int n){ int i; for(i = 0;i



