- 博客(11)
- 收藏
- 关注
原创 LeetCode 477. Total Hamming Distance
LeetCode 477. Total Hamming Distance
2016-12-18 11:44:15 339
原创 PHP Type Hinting (类型提示)
概述 从PHP5开始,我们可以使用类型提示来指定定义函数时,函数接收的参数类型。如果在定义函数时,指定了参数的类型,那么当我们调用函数时,如果实参的类型与指定的类型不符,那么PHP会产生一个致命级别的错误(Catchable fatal error)。http://www.gy0929.com/wz/1368.html
2016-12-09 11:07:25 1524
原创 LeetCode 434. Number of Segments in a String
Problem StatementCount the number of segments in a string, where a segment is defined to be a contiguous sequence of non-space characters.For example,Input: "Hello, my name is John"Output: 5Solutioncla
2016-12-04 11:59:59 551
原创 LeetCode 463. Island Perimeter
Problem Statement(Source) You are given a map in form of a two-dimensional integer grid where 1 represents land and 0 represents water. Grid cells are connected horizontally/vertically (not diagonally)
2016-12-03 11:34:50 201
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人