![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Algorithm
Muphyaaa
这个作者很懒,什么都没留下…
展开
-
anaconda 安装tensorflow
https://blog.csdn.net/sinat_36413257/article/details/100553689 参照博客遇到的问题: 1.python 3.5环境下载: 为anaonda配置清华源: conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/ conda config --add channels https://mirrors.tuna.tsinghua.edu.原创 2020-06-27 16:14:39 · 203 阅读 · 0 评论 -
字符串的7道编程题
1.字符串互为变形词 (1).用哈希表做字符统计 (2).先排序,再判断 bool hash1(string str1,string str2) { int arr1[256]; memset(arr1,0,sizeof(arr1)); for (int i=0;i<str1.length();i++) { arr1[str1[i]]++...原创 2018-06-04 12:27:10 · 4371 阅读 · 0 评论 -
栈和队列编程题
1.包含min函数的栈 class Stack { public: stack<int>stack_data,stack_min; void push(int val) { stack_data.push(val); if(stack_min.empty()||stack_min.top()>val) ...原创 2018-06-05 21:10:02 · 1198 阅读 · 0 评论 -
二叉树的子树 二叉树的序列化,字符串的查找(KMP算法)
求二叉树的子树查找,可以将二叉树序列化,转化为字符串,然后对字符串的子串查找。 1.KMP算法 #include <stdio.h> typedef char* String; void get_next( String T, int *next ) { int j = 0;//i是后缀,j是前缀 int i = 1; next[1] = 0; ...原创 2018-06-06 09:48:47 · 631 阅读 · 0 评论