摘要: console.time("test"); for(var i=0; i<10000000; i++) { } console.timeEnd("test"); 阅读全文
posted @ 2014-07-25 22:57 PengpengSong 阅读(118) 评论(0) 推荐(0) 编辑
摘要: Two Sum Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that they add up to the tar... 阅读全文
posted @ 2014-07-24 19:38 PengpengSong 阅读(147) 评论(0) 推荐(0) 编辑
摘要: Given an unsorted array of integers, find the length of the longest consecutive elements sequence.For example, Given [100, 4, 200, 1, 3, 2], The lo... 阅读全文
posted @ 2014-07-23 22:26 PengpengSong 阅读(177) 评论(0) 推荐(0) 编辑
摘要: Valid operators are +, -, *, /. Each operand may be an integer or another expression. Some examples: ["2", "1", "+", "3", "*"] -> ((2 + 1) * 3) -> 9 ["4", "13", "5", "/", "+"] -> (4 + (13 / 5 阅读全文
posted @ 2014-07-22 23:00 PengpengSong 阅读(125) 评论(0) 推荐(0) 编辑
摘要: Given an input string, reverse the string word by word. For example, Given s = "the sky is blue", return "blue is sky the". Clarification: What constitutes a word? A sequence of non-spa... 阅读全文
posted @ 2014-07-22 22:23 PengpengSong 阅读(208) 评论(0) 推荐(0) 编辑
摘要: Stun Disintegrate Erase from history Toggle Menu 阅读全文
posted @ 2014-06-22 18:09 PengpengSong 阅读(201) 评论(0) 推荐(0) 编辑
摘要: {{student.name}} Insert {{$index + 1}} {{track.name}} {{track.duration}} 阅读全文
posted @ 2014-06-22 17:47 PengpengSong 阅读(262) 评论(0) 推荐(0) 编辑
摘要: Starting: Recommendation: {{needed}} Fund my startup! Reset @section scripts{ } 阅读全文
posted @ 2014-06-22 17:08 PengpengSong 阅读(181) 评论(0) 推荐(0) 编辑
摘要: Your Order {{item.title}} {{item.price | currency}} {{item.price * item.quantity | currency}} Remove Use module: Your Order {{item... 阅读全文
posted @ 2014-06-22 15:59 PengpengSong 阅读(278) 评论(0) 推荐(0) 编辑
摘要: Need to add all the new cpp files to jni/Andriod.mk folder: 阅读全文
posted @ 2014-06-13 00:07 PengpengSong 阅读(121) 评论(0) 推荐(0) 编辑