![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法
最大的敌人是自己
欢迎大牛指点
展开
-
202. Happy Number
**问题描述: Write an algorithm to determine if a number is “happy”. A happy number is a number defined by the following process: Starting with any positive integer, replace the number by the sum of the s原创 2016-04-19 23:18:09 · 290 阅读 · 0 评论 -
198. House Robber
**问题描述: You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from robbing each of them is that adjace原创 2016-04-20 07:58:47 · 243 阅读 · 0 评论