摘要: 1 //1 加到 100 的 时间复杂度: 2 int n = 100; 3 int sum = 0; 4 for(int i = 1; i n -> ∞. 阅读全文
posted @ 2014-01-08 02:03 wonkju 阅读(931) 评论(0) 推荐(0) 编辑
摘要: Length is the longer or longest dimension of a rectangle (or even an object).Ref:http://mathforum.org/library/drmath/view/57801.html 阅读全文
posted @ 2014-01-08 01:03 wonkju 阅读(461) 评论(0) 推荐(0) 编辑
摘要: Ref:http://www.w3schools.com/js/js_comparisons.asp 1 var r = 1; 2 var result = r || 2; 3 console.log(result); 4 //output: 1 5 6 r = 0; 7 result = r |... 阅读全文
posted @ 2014-01-08 00:40 wonkju 阅读(139) 评论(0) 推荐(0) 编辑