![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据结构
文章平均质量分 80
10086love10010
这个作者很懒,什么都没留下…
展开
-
浅谈动态规划思想
动态规划算法原创 2022-09-22 17:16:28 · 241 阅读 · 0 评论 -
二叉树
二叉树(未完成)struct Node{ bool have_value; int v; Node *left,*right; Node():have_value(false),left(NULL),left(NULL){} };char s[maxn]; bool read_input(){ failed = false; root原创 2017-09-27 19:27:57 · 305 阅读 · 0 评论 -
树,UVA 548
#include<iostream>#include<string>#include<sstream>#include<algorithm>using namespace std;const int maxv = 1000 + 10;int in_order[maxv],post_order[maxv],lch[maxv],rch[maxv];int n;bool read_list(in原创 2017-09-27 20:59:41 · 141 阅读 · 0 评论