
算法
daisy_Hawen
身体和灵魂都需要奔跑 欢迎关注我的Githttps://github.com/daisyHawen
展开
-
JS算法——数组去重
前天面试了腾讯,才注意到原来大厂对于算法的要求也是很高的。 出了四道算法题,还好我勉强作答出来了,不过还是很险,因为平时对于js的算法研究较少,于是这两天恶补算法。 我开了一个git用于积累平时遇到的算法实现。 https://github.com/daisyHawen/algorithm-JS原创 2017-03-15 09:56:10 · 540 阅读 · 0 评论 -
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.*/题目的意思是:找到x和y的二进制位中,不相同的原创 2017-08-21 10:44:56 · 455 阅读 · 0 评论 -
LeetCode_ 657. Judge Route Circle
题目: Initially, there is a Robot at position (0, 0). Given a sequence of its moves, judge if this robot makes a circle, which means it moves back to the original place.The move sequence is represented原创 2017-08-21 11:05:46 · 560 阅读 · 0 评论