- 博客(5)
- 收藏
- 关注
原创 JAVA正则表达式
package myPro;import java.util.regex.Matcher; import java.util.regex.Pattern;public class myPro { public static void main(String args[]) { /* Pattern pattern = Pattern.compile("John
2017-11-15 21:57:05 128
原创 二叉树的遍历(25 分)
#include <stdio.h> #include <stdlib.h>typedef char ElementType; typedef struct TNode *Position; typedef Position BinTree; struct TNode{ ElementType Data; BinTree Left; BinTree Right; };BinT
2017-11-14 12:37:37 1237
原创 二叉搜索树的操作集(30 分)
#include <stdio.h> #include <stdlib.h>typedef int ElementType; typedef struct TNode *Position; typedef Position BinTree; struct TNode{ ElementType Data; BinTree Left; BinTree Right; };void
2017-11-09 21:00:42 281
原创 队列
#include <stdio.h> #include <stdlib.h> #include <string.h> int main(){ int n; scanf("%d",&n); int m=n; int ahead=0,atail=0; int bhead=0,btail=0; int aq_o[n]; int bq_e[n];
2017-11-08 21:25:31 124
原创 二叉树三种遍历(递归的妙用)
先序遍历void preorder(Tree r){ if(r){ printf("%c ",r->data); preorder(r->l); preorder(r->r); } }后序遍历void postorder(Tree r){ if(r){ preorder(r->l
2017-11-02 19:28:25 241
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人