摘要: 1,1,2,3,5,8,13,21。。。。。。。。 不用递归算法求出第N个数的值: 1. 先用递归试试 public int sum(int n) { if(n<3) return 1; else return sum(n-1) + sum(n-2); } 2. 不用递归 publis ... 阅读全文
posted @ 2010-09-14 14:29 growing pain 阅读(141) 评论(0) 推荐(0) 编辑
摘要: what is the differece between delete and truncate?? similarities: both of themcan remove all rows from a table eg. DELETEFROM [table1] TRUNCATETABLE [... 阅读全文
posted @ 2010-09-14 14:18 growing pain 阅读(280) 评论(0) 推荐(0) 编辑