
string
文章平均质量分 74
baladeer
CV菜鸟
展开
-
179. Largest Number
Given a list of non negative integers, arrange them such that they form the largest number. For example, given [3, 30, 34, 5, 9], the largest formed number is 9534330. Note: The result may be ve原创 2018-01-12 23:09:04 · 573 阅读 · 0 评论 -
71. Simplify Path
Given an absolute path for a file (Unix-style), simplify it. For example, path = "/home/", => "/home" path = "/a/./b/../../c/", => "/c" Corner Cases: Did you consider the case where p原创 2018-01-14 05:29:06 · 217 阅读 · 0 评论 -
43. Multiply Strings
Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2. Note: The length of both num1 and num2 is Both num1 and num2 contains only digits原创 2018-01-08 13:01:47 · 106 阅读 · 0 评论 -
415. Add Strings
这个题很简单,仅此记录一下; class Solution { public: string addStrings(string num1, string num2) { int size1 = num1.size(); int size2 = num2.size(); string res = ""; int原创 2018-01-08 13:02:45 · 104 阅读 · 0 评论 -
681. Next Closest Time
Given a time represented in the format "HH:MM", form the next closest time by reusing the current digits. There is no limit on how many times a digit can be reused. You may assume the given input str原创 2018-01-10 14:56:12 · 297 阅读 · 0 评论