摘要:
Question:Write a program to find then-th ugly number.Ugly numbers are positive numbers whose prime factors only include2, 3, 5. For example,1, 2, 3, 4... 阅读全文
posted @ 2015-09-19 20:04
江湖小妞
阅读(243)
评论(0)
推荐(0)
摘要:
Question:Write a program to check whether a given number is an ugly number.Ugly numbers are positive numbers whose prime factors only include2, 3, 5. ... 阅读全文
posted @ 2015-09-19 19:05
江湖小妞
阅读(136)
评论(0)
推荐(0)
摘要:
Question:Given an arraynums, write a function to move all0's to the end of it while maintaining the relative order of the non-zero elements.For exampl... 阅读全文
posted @ 2015-09-19 18:33
江湖小妞
阅读(140)
评论(0)
推荐(0)
摘要:
Question:Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may c... 阅读全文
posted @ 2015-09-19 16:12
江湖小妞
阅读(171)
评论(0)
推荐(0)
摘要:
Question:Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may c... 阅读全文
posted @ 2015-09-19 14:01
江湖小妞
阅读(147)
评论(0)
推荐(0)
摘要:
智慧石的链接:http://www.zhihuishi.com/source/1312.html 阅读全文
posted @ 2015-09-19 09:54
江湖小妞
阅读(130)
评论(0)
推荐(0)

浙公网安备 33010602011771号