"15. Permutations" / "46. Permutations" 本题难度: Medium Topic: Search & Recursion Description Given a list of numbers, return all possible permutations. ...
分类:
其他好文 时间:
2019-02-16 09:27:35
阅读次数:
173
"16. Permutations II" / "47. Permutations II" 本题难度: Medium Topic: Search & Recursion Description Given a list of numbers with duplicate number in it. ...
分类:
其他好文 时间:
2019-02-16 09:25:50
阅读次数:
170
"33. N Queens" / "51. N Queens" 本题难度: Medium/Hard Topic: Search & Recursion Description The n queens puzzle is the problem of placing n queens on an n ...
分类:
其他好文 时间:
2019-02-15 22:26:06
阅读次数:
236
原文链接: https://www.cnblogs.com/gengyi/p/6372020.html?utm_source=itdadao&utm_medium=referral。 对变量有个引用计数,计数到0时变量被销毁。 每一种语言都有自己的自动垃圾回收机制,让程序员不必过分关心程序内存分配, ...
分类:
Web程序 时间:
2019-02-15 15:33:16
阅读次数:
168
"152. Combinations" / "77. Combinations" 本题难度: Medium Topic: Search & Recursion Description Given two integers n and k, return all possible combinatio ...
分类:
其他好文 时间:
2019-02-15 01:11:29
阅读次数:
181
"7. Serialize and Deserialize Binary Tree" / "297. Serialize and Deserialize Binary Tree" 本题难度: Medium/Hard Topic: Binary Tree Description Design an a ...
分类:
其他好文 时间:
2019-02-14 23:57:27
阅读次数:
302
Difficulty: Medium Problem Given an array , we can perform a pancake flip : We choose some positive integer `k PancakeSort(int[] A) { int max = A.Leng ...
分类:
其他好文 时间:
2019-02-14 23:57:08
阅读次数:
329
"98. Sort List" / "148. Sort List" 本题难度: Medium Topic: Linked List Description Sort a linked list in O(n log n) time using constant space complexity. ...
分类:
其他好文 时间:
2019-02-14 20:57:25
阅读次数:
166
数据库优化 sql语句优化 索引优化 加缓存 读写分离 分区 分布式数据库(垂直切分) 水平切分 MyISAM和InnoDB的区别: 1. InnoDB支持事务,MyISAM不支持,对于InnoDB每一条SQL语言都默认封装成事务,自动提交,这样会影响速度,所以最好把多条SQL语言放在begin和c ...
分类:
数据库 时间:
2019-02-14 20:48:30
阅读次数:
243
针对昨天的那篇《微软:70%的安全漏洞都是内存安全问题》的文章,Diesel的作者Sean写了这篇文章。因为网上有很多言论,他们的观点是:不是因为编程语言的问题,而是因为写代码的人太菜,所以才出现这种安全问题。Sean并不同意这种观点。 本文中,Sean结合具体的案例,来说明一个问题:Rust编译器 ...
分类:
其他好文 时间:
2019-02-13 11:07:52
阅读次数:
195