Mad scientist Mike is building a time machine in his spare time. To finish the work, he needs a resistor with a certain resistance value. However, all ...
分类:
其他好文 时间:
2017-09-30 13:36:32
阅读次数:
175
Palindrome Number 问题描述如下: Determine whether an integer is a palindrome. Do this without extra space. 关键在不占用额外的空间的情况下生成它的回文序列,然后作差即可。 如果相等,说明回文,如果不相等说明 ...
分类:
其他好文 时间:
2017-09-29 00:12:20
阅读次数:
140
It is a well-known fact that behind every good comet is a UFO. These UFOs often come to collect loyal supporters from here on Earth. Unfortunately, th ...
分类:
其他好文 时间:
2017-09-28 14:05:19
阅读次数:
211
在ip_local_deliver中,如果检测到是分片包,则需要进行分片重组; ip_local_deliver |-->ip_is_fragment //判断是否为分片包 |-->ip_defrag //分片缓存&重组 |-->ip_find //查找ipq |-->ip_frag_find // ...
分类:
其他好文 时间:
2017-09-28 10:05:13
阅读次数:
196
使用sql获取mysql主键名称: 方法1: 这种方法返回一行数据,如果只是需要主键的名称,可以使用方法2。 方法2: ref: https://stackoverflow.com/questions/893874/mysql-determine-tables-primary-key-dynamic ...
分类:
数据库 时间:
2017-09-27 13:18:30
阅读次数:
152
1.ImagePickerSheetController https://github.com/allenwong/30DaysofSwift/ ...
分类:
其他好文 时间:
2017-09-25 18:47:29
阅读次数:
158
125. Valid Palindrome【easy】 Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example, ...
分类:
其他好文 时间:
2017-09-23 16:15:52
阅读次数:
137
141. Linked List Cycle 141. Linked List Cycle 141. Linked List Cycle 141. Linked List Cycle Given a linked list, determine if it has a cycle in it. Fo ...
分类:
其他好文 时间:
2017-09-21 17:50:10
阅读次数:
111
Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined as a binary tree in which the dept ...
分类:
其他好文 时间:
2017-09-20 00:34:58
阅读次数:
104
来源:https://leetcode.com/problems/balanced-binary-tree Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced bin ...
分类:
其他好文 时间:
2017-09-16 23:17:13
阅读次数:
205