
环路检测
文章平均质量分 81
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 202. Happy Number(快乐数字)
原题网址:https://leetcode.com/problems/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原创 2016-05-04 05:56:13 · 1258 阅读 · 0 评论 -
LeetCode 207. Course Schedule(课程安排)
原题网址:https://leetcode.com/problems/course-schedule/ There are a total of n courses you have to take, labeled from 0 to n - 1. Some courses may have prerequisites, for example to take course原创 2016-05-04 10:03:07 · 1018 阅读 · 0 评论