"Fibonacci Sequence 维基百科" $F(n) = F(n 1)+F(n 2)$,其中 $F(0)=0, F(1)=1$,即该数列由 0 和 1 开始,之后的数字由相邻的前两项相加而得出。 递归 时间复杂度 $O(n)$,空间复杂度 $O(1)$ 矩阵 $F(n)$ 和 $F(n 1 ...
分类:
其他好文 时间:
2020-02-17 14:21:50
阅读次数:
73
张宁 A RUGD Dataset for Autonomous Navigation and Visual Perception in Unstructured Outdoor Environments Maggie Wigness, Sungmin Eum, John G. Rogers III ...
分类:
其他好文 时间:
2020-02-16 21:00:52
阅读次数:
200
Given a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the max sum in th ...
分类:
其他好文 时间:
2020-02-16 20:25:53
阅读次数:
53
注意力机制和Seq2Seq模型 "1.基本概念" "2.两种常用的attention层" "3.带注意力机制的Seq2Seq模型" "4.实验" 1. 基本概念 Attention 是一种通用的带权池化方法,输入由两部分构成:询问(query)和键值对(key value pairs)。$??_?? ...
分类:
其他好文 时间:
2020-02-16 16:15:19
阅读次数:
77
动手学pytorch 机器翻译 "1. 机器翻译与数据集" "2. Encoder Decoder" "3. Sequence to Sequence" "4. 实验" 1. 机器翻译与数据集 机器翻译(MT):将一段文本从一种语言自动翻译为另一种语言,用神经网络解决这个问题通常称为神经机器翻译(N ...
分类:
其他好文 时间:
2020-02-16 11:33:53
阅读次数:
70
2020 CDUT寒假集训第一场 [TOC] "A Vasya and Golden Ticket" Recently Vasya found a golden ticket — a sequence which consists of n digits a 1 a 2… a n . Vasya c ...
分类:
其他好文 时间:
2020-02-16 01:54:04
阅读次数:
123
解题思路:利用二叉搜索树性质 可以确定10为根节点, class Solution { public: vector<int> seq; bool verifySequenceOfBST(vector<int> sequence) { seq = sequence; return dfs(0, se ...
分类:
其他好文 时间:
2020-02-15 18:27:30
阅读次数:
67
软帝学院教你:初识springbootSpringBoot简化了基于Spring的应用开发。你可以很容易地创建一个独立的,产品级别的Spring应用。我们为Spring平台及第三方库提供开箱即用的设置,这样你就可以有条不紊地开始。多数SpringBoot应用只需要很少的Spring配置。接下来我们开始第一个springboot应用,首先需要安装JavaSDK1.8或更高版本第一步通过maven创建
分类:
编程语言 时间:
2020-02-15 17:03:25
阅读次数:
87
mycat的配置 cacheservice.properties:路由缓存相关配置文件 index_to_charset.properties:字符集映射关系 rule.xml:分片规则 schema.xml:逻辑库定义 sequence_conf:sequence配置信息(一般用基于db,time ...
分类:
数据库 时间:
2020-02-15 15:50:08
阅读次数:
96
var mode = { 0: 'sequence', 1: 'loop', 2: 'random' } var m = 1 function changeMode() { var newMode = (m + 1) % 3 console.log(mode[newMode]) m++ } chan ...
分类:
其他好文 时间:
2020-02-15 09:14:32
阅读次数:
44