摘要:
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 exam... 阅读全文
posted @ 2015-09-11 15:08
vincently
阅读(165)
评论(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, 3... 阅读全文
posted @ 2015-09-11 14:48
vincently
阅读(155)
评论(0)
推荐(0)
摘要:
Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty space i... 阅读全文
posted @ 2015-09-11 10:31
vincently
阅读(150)
评论(0)
推荐(0)
浙公网安备 33010602011771号