leetcode
勤奋的Garfield
这个作者很懒,什么都没留下…
展开
-
leetcode 401 Binary Watch
A binary watch has 4 LEDs on the top which represent the hours (0-11), and the 6 LEDs on the bottom represent the minutes (0-59). Each LED represents a zero or one, with the least significant bit on原创 2016-09-24 22:07:26 · 448 阅读 · 0 评论 -
leetcode 357 Count Numbers with Unique Digits
问题描述: Given a non-negative integer n, count all numbers with unique digits, x, where 0 ≤ x < 10n.Example: Given n = 2, return 91. (The answer should be the total numbers in the range of 0 ≤ x < 100,转载 2016-09-24 22:34:30 · 432 阅读 · 0 评论 -
leetcode 207. Course Schedule
请点击:原题目链接以打开leetcode题目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 0 you have to first take course 1, which i原创 2016-09-25 12:42:27 · 383 阅读 · 0 评论