1.Advantages and disanvantages of Peer Programming advantagesThe code are constantly validated by two people, reducing the possibility of indivudual ....
分类:
其他好文 时间:
2014-10-16 02:36:31
阅读次数:
190
# Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: 1, 2, 3...
分类:
编程语言 时间:
2014-10-15 23:13:51
阅读次数:
245
Controllers and Routers in ASP.NET MVC 3 ambilykk, 3 May 2011 CPOL 4.79 (23 votes) Rate: vote 1vote 2vote 3vote 4vote 5 A deeper look into the two pil...
分类:
Web程序 时间:
2014-10-15 18:27:51
阅读次数:
279
I hava below two statement sql:
0. not in subquery
select a.schemaname, pg_size_pretty(pg_total_relation_size(a.schemaname||'.'||a.tablename)) from pg_tables a where a.tablename not in (select b.tab...
分类:
其他好文 时间:
2014-10-15 17:37:11
阅读次数:
504
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.
class Solution {
public:
ListNode *mergeTwoLists(Li...
分类:
其他好文 时间:
2014-10-15 15:48:31
阅读次数:
127
Given two binary strings, return their sum (also a binary string).
For example,
a = "11"
b = "1"
Return "100".
class Solution {
public:
std::string addBinary(std::string a, std::string b)...
分类:
其他好文 时间:
2014-10-15 13:17:30
阅读次数:
174
一道非常不错的状态压缩+map映射+背包的DP题目。
题意很简单,就是给N个物品有两个属性 a ,b.问对于A,B的要求是否可以用N件物品组合产生。若满足则输出一种。
这个直观感受就是背包问题啊,但是看下数据规模
The first line contains two integers N (1 N <= 400) and
Q (1 Q
For the next N lines,...
分类:
其他好文 时间:
2014-10-15 11:18:00
阅读次数:
265
英文原文:The world’s two worst variable names 作为一个程序员,“起名字”是他们工作中非常重要的一部分。Phil Karlton就说过:“在计算机科学领域,有两大难题,如何让缓存失效(cache invalidation)和如何给各种东西命名。”虽然很难,但是.....
分类:
其他好文 时间:
2014-10-15 10:38:30
阅读次数:
250
IdQuestionDifficultyFrequencyData StructuresAlgorithms1Two Sum25array + setsort + two pointers2Add Two Numbers34linked listtwo pointers + math3Longest...
分类:
其他好文 时间:
2014-10-15 06:51:30
阅读次数:
1464
Problem:Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpo...
分类:
其他好文 时间:
2014-10-15 02:00:09
阅读次数:
238