年末将至,是时候该把所学的总结下了。最近正好从eclipes转到idea,发现idea对模组的支持很棒。这一片先总结下springboot和redis的整合 首先添加redis服务器 直接用docker 远程拉取即可,这里不再描述 直接撸代码 1.添加依赖 2.在配置文件中增加配置的连接信息 好了, ...
分类:
编程语言 时间:
2017-12-12 17:38:15
阅读次数:
188
原文地址:http://blog.csdn.net/david_dai_1108/article/details/71699449 ...
分类:
其他好文 时间:
2017-12-11 20:02:42
阅读次数:
256
Given a list of airline tickets represented by pairs of departure and arrival airports [from, to], reconstruct the itinerary in order. All of the tick ...
分类:
其他好文 时间:
2017-12-10 14:25:21
阅读次数:
173
Given two sentences words1, words2 (each represented as an array of strings), and a list of similar word pairs pairs, determine if two sentences are s ...
分类:
其他好文 时间:
2017-12-10 11:10:32
阅读次数:
205
Given two sentences words1, words2 (each represented as an array of strings), and a list of similar word pairs pairs, determine if two sentences are s ...
分类:
其他好文 时间:
2017-12-03 11:45:11
阅读次数:
194
Given two integers n and k, find how many different arrays consist of numbers from 1 to n such that there are exactly k inverse pairs. We define an in ...
分类:
其他好文 时间:
2017-12-02 11:31:11
阅读次数:
134
Given two sentences words1, words2 (each represented as an array of strings), and a list of similar word pairs pairs, determine if two sentences are s ...
分类:
其他好文 时间:
2017-12-01 19:35:19
阅读次数:
168
"51nod 1290" Counting Diff Pairs | 莫队 树状数组 题面 一个长度为N的正整数数组A,给出一个数K以及Q个查询,每个查询包含2个数l和r,对于每个查询输出从A[i]到A[j]中,有多少对数,abs(A[i] A[j]) include include include ...
分类:
编程语言 时间:
2017-11-30 18:06:10
阅读次数:
189
leetCode-K-diff Pairs in an Array ...
分类:
其他好文 时间:
2017-11-26 21:51:36
阅读次数:
162
--第四章 语句--4.1 赋值Lua支持多重赋值,先对等号右边所有元素求值,然后进行赋值。这可以用来交换变量x, y = y, x 若值的个数少于变量的个数,则多余的变量会被赋值为nil。若值的个数多余变量的个数,则多余的值会被丢弃。 --4.2局部变量与块block局部变量的作用域仅限于声明它们 ...
分类:
其他好文 时间:
2017-11-25 22:39:10
阅读次数:
182