题目:https://oj.leetcode.com/problems/add-binary/Given two binary strings, return their sum (also a binary string).For example,a = "11"b = "1"Return "10...
分类:
编程语言 时间:
2014-09-16 10:31:00
阅读次数:
174
These are two different concepts, you cannot compare them. What the difference between the skunk and the moonlight?Null pointer is a special reserved ...
分类:
其他好文 时间:
2014-09-16 06:00:20
阅读次数:
216
当时想到了贪心,但是不知为何举出了反列。。。。我是逗比,看了点击打开链接。才发现我是逗比。
Problem Description
There is a special number sequence which has n+1 integers. For each number in sequence, we have two rules:
● ai ∈ [0,n]
●...
分类:
其他好文 时间:
2014-09-16 02:44:19
阅读次数:
276
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.思路:增加一个头指...
分类:
其他好文 时间:
2014-09-15 22:38:49
阅读次数:
217
《Accelerated C++》 笔记 书籍ISBN:978-7-111-22404-4 Chapter 8
P123 typename关键字 这里举了一个这样的例子: template T median (vector v){
typedef typename vector::size_type...
分类:
编程语言 时间:
2014-09-15 22:35:29
阅读次数:
611
Problem Description
There is a special number sequence which has n+1 integers. For each number in sequence, we have two rules:
● ai ∈ [0,n]
● ai ≠ aj( i ≠ j )
For sequence a and sequence b,...
分类:
其他好文 时间:
2014-09-15 21:22:10
阅读次数:
240
Problem Description
Here is a game for two players. The rule of the game is described below:
● In the beginning of the game, there are a lot of piles of beads.
● Players take turns to play. ...
分类:
其他好文 时间:
2014-09-15 21:21:29
阅读次数:
202
这里的传参方法跟本博客中javascript"鼠标移入移出背景色渐变"中的传参方式相同,我贴的代码是全部都有的,大家可以复制过去直接看效果,有更好的建议的望留言…… 鼠标在字体上移入移出字体颜色渐变 one two three ...
分类:
移动开发 时间:
2014-09-15 21:07:19
阅读次数:
231
Game
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)
Total Submission(s): 263 Accepted Submission(s): 205
Problem Description
Here is a game for two ...
分类:
其他好文 时间:
2014-09-15 19:30:49
阅读次数:
162
/*to solve the problem ,i think we can use stack to maintain the numbers,and list to keep it sorted,which is very important to find the Median number....
分类:
其他好文 时间:
2014-09-15 19:07:19
阅读次数:
181