摘要: 题目: 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, 阅读全文
posted @ 2018-01-17 17:10 xxbbtt 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 题目:Given a sorted array consisting of only integers where every element appears twice except for one element which appears once. Find this single elem 阅读全文
posted @ 2018-01-17 13:56 xxbbtt 阅读(144) 评论(0) 推荐(0) 编辑