leetcode解题系列
天马行空的鱼
立志成为机器学习大牛!
展开
-
Find All Numbers Disappeared in an Array
Find All Numbers Disappeared in an Array原创 2017-01-03 20:05:56 · 252 阅读 · 0 评论 -
Hamming Distance
题目描述:LeetCode 461. Hamming DistanceThe 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原创 2017-01-04 09:42:00 · 280 阅读 · 0 评论 -
414. Third Maximum Number Add to List
问题描述Given a non-empty array of integers, return the third maximum number in this array. If it does not exist, return the maximum number. The time complexity must be in O(n).Example 1:Input:原创 2017-01-06 10:25:48 · 244 阅读 · 0 评论