A sequence of number is called arithmetic if it consists of at least three elements and if the difference between any two consecutive elements is the ...
分类:
其他好文 时间:
2018-12-02 10:37:30
阅读次数:
145
Given a matrix consists of 0 and 1, find the distance of the nearest 0 for each cell. The distance between two adjacent cells is 1. Example 1: Input: ...
分类:
其他好文 时间:
2018-12-01 21:50:58
阅读次数:
198
Given a binary search tree with non-negative values, find the minimum absolute difference between values of any two nodes. Example: Input: 1 \ 3 / 2 O ...
分类:
其他好文 时间:
2018-12-01 13:24:40
阅读次数:
169
1.概率论 (1)何书元《概率论》 这本书覆盖了很多实用的定理和结论,每当我有概率需要时就会查找此书! http://bariskurt.com/kullback-leibler-divergence-between-two-dirichlet-and-beta-distributions/ (2) ...
分类:
其他好文 时间:
2018-11-30 00:48:40
阅读次数:
161
Private Sub Command1_Click() Adodc1.RecordSource = "select * from xsd where 日期 between # " & DT1.Value & " # and # " & DT2.Value & " #" Adodc1.Refresh ...
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), r... ...
分类:
其他好文 时间:
2018-11-27 10:10:15
阅读次数:
199
项目security_simple(认证授权项目) 1.新建springboot项目 这儿选择springboot版本我选择的是2.0.6 点击finish后完成项目的创建 2.引入maven依赖 下面是我引入的依赖 3.新建数据库(因为本项目采用jdbc的形式存储token相关) 建表sql语句的 ...
分类:
编程语言 时间:
2018-11-26 21:57:03
阅读次数:
648
Given a binary search tree with non-negative values, find the minimum absolute difference between values of any two nodes. Example: Note: There are at ...
分类:
编程语言 时间:
2018-11-25 17:47:34
阅读次数:
163
Given a string that contains only digits 0-9 and a target value, return all possibilities to add binary operators (not unary) +, -, or * between the d ...
分类:
其他好文 时间:
2018-11-25 13:17:15
阅读次数:
346
The only difference between easy and hard versions is the constraints. Vova likes pictures with kittens. The news feed in the social network he uses c ...
分类:
其他好文 时间:
2018-11-24 14:08:39
阅读次数:
148