- 博客(8)
- 收藏
- 关注
原创 MySQL 5.7.17压缩版安装手记
1.下载压缩包并解压缩到相应目录 2.添加MySQL的bin目录路径到Path环境变量 3.修改配置文件my-default.ini,将\# basedir = .....\# datadir = .....修改成:basedir = G:\Program\Program Files\MySQLdatadir = G:\Program\Program Files\MySQL\data4.用管
2017-02-06 20:41:46
353
原创 [LeetCode]1. Two Sum
Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, and you may not use the same ele
2017-02-03 09:32:32
386
原创 [LeetCode]461. Hamming Distance
The Hamming distance between two integers is the number of positions at which the corresponding bits are different.Given two integers x and y, calculate the Hamming distance.Note: 0 ≤ x, y < 2^31.My s
2017-02-03 09:27:14
479
原创 [LeetCode]476.Number Complement
Given a positive integer, output its complement number. The complement strategy is to flip the bits of its binary representation.Note: The given integer is guaranteed to fit within the range of a 32-b
2017-02-03 09:20:00
331
原创 [算法]Floyd-Warshall算法理解
关于弗洛伊德算法,各种资料都有介绍(如Wiki:https://zh.wikipedia.org/wiki/Floyd-Warshall%E7%AE%97%E6%B3%95),但是有一点疑问一直困惑了我很久,知道今天才想明白哈(感谢学长帮助~)。图的有关信息存储在邻接矩阵中,弗洛伊德算法大体上是尝试找各个中转点,看能否减少顶点与顶点间的路径,以计算出任意两个顶点之间的路径长度。尝试各个中转站的步骤一
2016-11-30 21:49:46
2292
原创 [Java] String Calculator With Parentheses
A Java implementation of a string calculator with parentheses.
2016-11-27 22:26:40
1397
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人