摘要: >Write a program to check whether a given number is an ugly number.Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. For exa... 阅读全文
posted @ 2015-08-29 21:35 卖程序的小歪 阅读(118) 评论(0) 推荐(0) 编辑
摘要: >Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array.For example,Given nums = [0, 1, ... 阅读全文
posted @ 2015-08-29 16:54 卖程序的小歪 阅读(120) 评论(0) 推荐(0) 编辑