08 2016 档案
LeetCode 292 Nim Game
摘要:这道题并不能显示出Python的强大,仅仅作为练手吧 阅读全文
posted @ 2016-08-18 21:45 wenchan 阅读(115) 评论(0) 推荐(0)
LeetCode 344 Reverse String
摘要:1. 最近在练习Python,发现它的确有时候比较方便,比如这个,一行代码就解决了问题。 注意到里面这个这个方法。This is extended slice syntax. It works by doing [begin:end:step] - by leaving begin and end 阅读全文
posted @ 2016-08-17 23:15 wenchan 阅读(221) 评论(0) 推荐(0)
LeetCode 371 Sum of Two Integers
摘要:This problem is a little confusing to me at first. But after I read some articles online, I got to know that it requires bitwise operations. So basica 阅读全文
posted @ 2016-08-08 22:40 wenchan 阅读(333) 评论(0) 推荐(0)