
leetcode
raychongzi
这个作者很懒,什么都没留下…
展开
-
628. Maximum Product of Three Numbers
628. Maximum Product of Three NumbersGiven an integer array, find three numbers whose product is maximum and output the maximum product.Example 1: Input: [1,2,3] Output: 6Example 2: Input: [1,2,3,4]原创 2017-07-13 09:48:11 · 408 阅读 · 0 评论 -
412. Fizz Buzz
LeetCode之FizzBuzzWrite a program that outputs the string representation of numbers from 1 to n.But for multiples of three it should output “Fizz” instead of the number and for the multiples of five out原创 2017-06-27 20:03:12 · 268 阅读 · 0 评论