2017年6月13日
摘要: 题目描述 输入一个正整数数组,把数组里所有数字拼接起来排成一个数,打印能拼接出的所有数字中最小的一个。例如输入数组{3,32,321},则打印出这三个数字能排成的最小数字为321323。 1 class Solution { 2 public: 3 static bool compare(const 阅读全文
posted @ 2017-06-13 10:11 无惧风云 阅读(131) 评论(0) 推荐(0)
摘要: Write a function that takes a string as input and reverse only the vowels of a string. Example 1:Given s = "hello", return "holle". Example 2:Given s 阅读全文
posted @ 2017-06-13 09:26 无惧风云 阅读(115) 评论(0) 推荐(0)