leetcode
yoyo__123
这个作者很懒,什么都没留下…
展开
-
leetcode 540. Single Element in a Sorted Array 题解
原题: Given a sorted array consisting of only integers where every element appears twice except for one element which appears once. Find this single element that appears only once. Example 1: I原创 2017-08-22 20:13:16 · 273 阅读 · 0 评论 -
leetcode 264. Ugly Number II 题解
原题: Write a program to find the n-th ugly number. Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. For example, 1, 2, 3, 4, 5, 6, 8, 9, 10, 12 is the sequence of t原创 2017-08-24 14:03:36 · 296 阅读 · 0 评论