![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法
menghaocheng
这个作者很懒,什么都没留下…
展开
-
算法-判断是否为搜索二叉树
数据结构:typedef struct node { struct node *left; struct node *right; int data; }node_type;三目运算 + 递归:boolean is_bst(struct node *root) { return root==NULL?TRUE:(root->left==NULL?(root-&...原创 2018-03-09 14:38:41 · 562 阅读 · 0 评论 -
算法-C快速获取json字段内的数据
【直接撸代码】:(为了凑一点篇幅,特意加了点注释)/***************************************************************************** 函 数 名 : just_json_get 功能描述 : 获取json中指定的字段 输入参数 : char *in_buff char *key ...原创 2018-03-31 14:17:29 · 1677 阅读 · 0 评论