摘要: House RobberYou are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint... 阅读全文
posted @ 2015-05-08 16:27 imKirin 阅读(233) 评论(0) 推荐(0) 编辑
摘要: Gray CodeThe gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integernrepresenting the tot... 阅读全文
posted @ 2015-05-08 16:01 imKirin 阅读(138) 评论(0) 推荐(0) 编辑