数据结构预算法(c语言)
文章平均质量分 80
lvsmaster
哥来了,别急!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
c单链表实现的栈结构
#include #include #include struct Node{ int value; struct Node *next; }; typedef struct Node LStackNode; typedef struct Node *LinkedStack; LinkedStack LinkedStackInit(LinkedStack s原创 2012-03-22 10:07:39 · 653 阅读 · 0 评论 -
无头结点链表实现线性表
[web@localhost d2]$ gcc --version gcc (GCC) 4.4.4 20100726 (Red Hat 4.4.4-13) Copyright (C) 2010 Free Software Foundation, Inc. #include #include #include struct node{ int value; struct node原创 2012-03-24 22:52:02 · 1094 阅读 · 0 评论 -
线性表的顺序存储结构
[web@localhost d2]$ gcc --version gcc (GCC) 4.4.4 20100726 (Red Hat 4.4.4-13) Copyright (C) 2010 Free Software Foundation, Inc. #include #include #include #define MAXSIZE 50 struct node原创 2012-03-24 14:48:36 · 603 阅读 · 0 评论 -
双向链表
[web@localhost d2]$ gcc --version gcc (GCC) 4.4.4 20100726 (Red Hat 4.4.4-13) Copyright (C) 2010 Free Software Foundation, Inc.#include #include #include struct node{ int value; struct n原创 2012-03-26 23:08:28 · 694 阅读 · 0 评论 -
kmp算法的php实现,可直接执行
<?php /** * @todo 改进型KMP算法,模式串的移动字符数组 * @param $pattern 模式串 * @param $next 以用模式串的数组 * @author houweizong@gmail.com * **/ function findNextVal($pattern,&$next){ $next[0] = -1; $j = 0;原创 2012-04-05 13:17:40 · 1647 阅读 · 0 评论
分享