So the first question is: what is the difference between this and #297? This here is BST, however, in #297, it's BT. "The encoded string should be as ...
分类:
其他好文 时间:
2016-12-21 07:42:40
阅读次数:
214
Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be ...
分类:
其他好文 时间:
2016-12-20 10:06:36
阅读次数:
140
大概步骤: 1.创建纹理对象,并为他指定一个纹理. 2.确定纹理如何应用到每个像素上. 3.启用纹理贴图 4.绘制场景,提供纹理和几何坐标 过滤:由于我们提供的纹理图像很少能和最终的屏幕坐标形成对应,大小不同,所以需要设置过滤项目.允许我们进行插值或者匀和,指定放大缩小的函数.glTexParame ...
分类:
其他好文 时间:
2016-12-19 09:00:48
阅读次数:
3360
#24. Swap Nodes in Pairs Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1->2->3->4, you should return the ...
分类:
其他好文 时间:
2016-12-19 00:01:24
阅读次数:
359
217. Contains Duplicate Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears a ...
分类:
其他好文 时间:
2016-12-18 23:23:12
阅读次数:
238
Problem: Assume you are an awesome parent and want to give your children some cookies. But, you should give each child at most one cookie. Each child ...
分类:
其他好文 时间:
2016-12-18 14:59:13
阅读次数:
170
Additive number is a string whose digits can form additive sequence. A valid additive sequence should contain at least three numbers. Except for the f ...
分类:
其他好文 时间:
2016-12-18 12:09:17
阅读次数:
168
Farmer John owns a large number of fences that must be repaired annually. He traverses the fences by riding a horse along each and every one of them ( ...
分类:
其他好文 时间:
2016-12-18 12:03:51
阅读次数:
181
俗话说:见微知著,见这张图片,你们就应该知道我这个人是个二货,这么烂的图片也敢挂网上, 没办法脾性使然,请原谅我的懒惰,我要开始一个二货的回忆之旅了 ---------- Knowledge Point 1: Python3.X和Python2.X一般情况下的最大区别应该是这几个吧:print(), ...
分类:
编程语言 时间:
2016-12-18 01:49:45
阅读次数:
165