小凉

3 0642700 3 0642770 5 34202 13942 4314 0624

2016年5月5日

Integer Break(Difficulty: Easy)

摘要: 题目: Given a positive integer n, break it into the sum of at least two positive integers and maximize the product of those integers. Return the maximum 阅读全文

posted @ 2016-05-05 18:18 小凉 阅读(173) 评论(0) 推荐(0) 编辑

字符串旋转

摘要: 题目:Reverse String (难度一颗星) Write a function that takes a string as input and returns the string reversed.Example:Given s = "hello", return "olleh". 实现: 阅读全文

posted @ 2016-05-05 16:33 小凉 阅读(194) 评论(0) 推荐(0) 编辑

导航