- 博客(7)
- 资源 (177)
- 收藏
- 关注
原创 【隐式图搜索遍历学习】倒牛奶
DFS:#include#include#include#includeusing namespace std;long ans[50], p = -1;long a, b, c; //各桶上限 bool found[50][50][50]; //搜索记录 bool isln(int C) //判断是否
2014-02-25 16:53:16 1062
原创 【搜索】BFS、DFS的综合练习(小鼠迷宫)
分析:利用bfs可以计算出最短路径的距离len(即移动次数),然后用dfs计算出等于len(移动次数)时有多少种不同的最短路径。 #include#include#include#includeusing namespace std;#define N 100int mark[N][N], map[N][N];struct node{ int x, y; int st
2014-02-21 16:21:50 728
原创 【bfs学习】最优程序
#include#include#include#include#include using namespace std;const int MAX_OPT = 100;int opt[MAX_OPT];char opt_name[][5] = { "ADD", "SUB", "SUL", "DIV", "DUP" }; //记录操作名称int a, b;struct no
2014-02-19 17:27:10 778
原创 【贪心算法初学】删数问题
题目:键盘输入一个高精度的正整数n(位),去掉任意s个数字后剩下的数字按原左右次序将组成一个新的正整数。编程对给定的n和s,寻找一种方案,使得剩下的数最小。Simple Input 178543 4Simple Output 13 首先:N超过200位,肯定要用字符串数组来进行存储。我们知道字符串数组隐含的'\0'作为结束符。当然,我们也可以用st
2014-02-15 13:25:35 2248
转载 也谈谈数据结构和算法,说与立志当好程序员的
曾经有个说法,程序=数据结构+算法。这在面向过程的编程语言流行的年代是很受推崇的。然而,随着时代的发展,各种编程语言的出现,各种编程模式的发明,面向对象、设计模式、框架、模型等各种概念早已淹没了当年那个简单的提法。那么,在这个多样化的年代,如果想立志做编程开发,还有没有必要学好数据结构和算法呢?我的回答是,非但有必要,更应该学好、学博、学精。第一,数据结构与算法是程序的
2014-02-12 11:22:01 1177
转载 已知二叉树的前序/后序遍历和中序遍历,求后序/前序遍历
首先,让我们先看看三种遍历的特性: 1、前序遍历: 1)访问根节点。 2)前序遍历左子树。 3)先序遍历右子树。 2、中序遍历: 1)中序遍历左子树。 2)访问根节点。 3)中序访问右子树。 3、后序遍历: 1)后序遍历左子树。 2)后序遍历右子树。 3)访问根节点。
2014-02-07 22:17:12 1220
原创 【数据结构学习】中缀表达式转后缀表达式
后缀表达式,我们亦称其为逆波兰序数。在咱们编写计算器的时候,总会要用双栈模拟,进行计算。 本题所描绘的中缀转后缀,只是很简单的转。并不能达到写计算器的目的,本文在此只用于个人的基础巩固,以及浅层次的思考,帮助进行中缀表达式转后缀表达式的理解。 中缀表达式如1*2+(2-1),其运算符一般出现在操作数之间, 因此称为中缀表达式,也就是大家编程中写的表达式。编译系统不考虑
2014-02-07 14:15:17 1311
Netty 入门与实战:仿写微信 IM 即时通讯系统.zip
2019-05-13
Graph Algorithms Practical Examples in Apache Spark and Neo4j
2019-05-13
Effective Java 第三版中文版全彩.pdf
2019-05-10
effective java第三版完整版(开源翻译版本)
2019-03-20
Architecting Modern Data Platforms(2019)
2019-03-05
Clustering data streams_ Theory and practice.pdf
2019-02-28
Network Intrusion Detection using Deep Learning_A Feature Learning Approach
2019-02-27
Machine Learning and Knowledge Discovery in Database, Part IIIs(第三部分)
2019-01-20
Machine Learning and Knowledge Discovery in Databases, Part I(第一部分)
2019-01-20
Computer Security Art and Science, Second Edition - Matt Bishop(2018).epub
2018-11-12
Sanet.st.Feature Engineering Made Easy - Sinan Ozdemir.epub(正式版)
2018-10-24
HPUX System and Network Administration.zip
2018-10-13
Springer.Neural.Information.Processing.Part.V.331970138X.pdf
2018-10-09
Springer.Neural.Information.Processing.Part.IV.3319700928.pdf
2018-10-09
Springer.Neural.Information.Processing.Part.III.3319700898.pdf
2018-10-09
Springer.Neural.Information.Processing.Part.II.3319700952.pdf
2018-10-09
浙江人民-成为数据分析师:6步练就数据思维.201802.epub浙江人民-成为数据分析师:6步练就数据思维.201802.epub
2018-09-23
Artificial Unintelligence_How Computers Misunderstand the World-MIT(2018).epub
2018-09-23
TensorFlow_Powerful Predictive Analytics with TensorFlow(2018) 书和代码
2018-09-05
Deep Learning Vol 1 From Basics to Practice_带书签.pdf
2018-09-05
Sanet.st_Deep_Learning,_Vol._2_From_Basics_to_Practice_-_Andrew_Glassner_带书签.pdf
2018-09-05
自己动手做大数据系统.azw3
2018-09-05
Beginning Application Development with TensorFlow and Keras
2018-06-17
Big Data Principles and best practices of scalable realtime data systems.pdf
2018-05-25
Deep Learning in Natural Language Processing-Springer(2018).pdf
2018-05-25
Introduction to Deep Learning Business Applications for Developers(2018)
2018-05-06
Computer Systems_A Programmer’s Perspective, 3rd Edition
2018-05-05
Optimizing Java_Practical Techniques for Improving JVM Application Performance
2018-04-25
Deep Learning Quick Reference-Packt(2018)电子书和配套代码
2018-04-19
Zoneout Regularizing RNNs by Randomly Preserving Hidden Activations
2018-04-18
人民邮电(图灵)-图解物联网-完美去广告版本
2018-04-12
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人