- 博客(6)
- 资源 (1)
- 收藏
- 关注
原创 [leetcode]Single Number III
Single Number III题目: Given an array of numbers nums, in which exactly two elements appear only once and all the other elements appear exactly twice. Find the two elements that appear only once.
2016-03-25 19:51:04
275
原创 [leetcode]Single Number II
[leetcode]Single Number II题目: Given an array of integers, every element appears three times except for one. Find that single one. Note: Your algorithm should have a linear runtime complexity.
2016-03-25 19:17:24
329
原创 [leetcode]Single Number
[leetcode]Single Number题目: Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could yo
2016-03-25 18:19:52
237
原创 [leetcode]Two Sum
[leetcode]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. E
2016-03-25 17:55:16
198
原创 [leetcode] NimGame
[leetcode] NimGame You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 stones. The one who removes the la
2016-03-25 10:40:16
258
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人