数据结构与算法(一)——顺序表和链表
顺序表增加元素1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677#include <stdio.h> #include <string.h>#define MAXSIZE 100typedef int ElemType;//顺序表定义typedef struct{ ElemType data[MAXSIZE]; int length;}SeqList;//顺序表初始化void initList(SeqList *L){ L->length = 0;;}//尾部添加元素int appendElem(SeqList *L, ElemType e){ if(L->length >= MAXSIZE){ prin...
我的第一篇博客文章
我的第一篇博客文章 这是我的第一篇博客文章。
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment