![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
leetcode
算法初学者
这个作者很懒,什么都没留下…
展开
-
leetcode-Arrays-findMaxAverage
题目:643. Maximum Average Subarray IGiven an array consisting of n integers, find the contiguous subarray of given length k that has the maximum average value. And you need to output the maximum averag...原创 2019-04-18 10:11:00 · 221 阅读 · 2 评论 -
leetcode_String_reorderLogFiles
Reorder Log FilesYou have an array of logs. Each log is a space delimited string of words.For each log, the first word in each log is an alphanumeric identifier. Then, either:Each word after th...原创 2019-04-18 15:38:47 · 147 阅读 · 1 评论 -
String_14. Longest Common Prefix
Write a function to find the longest common prefix string amongst an array of strings.If there is no common prefix, return an empty string “”.Example 1:Input: [“flower”,“flow”,“flight”]Output: “fl...原创 2019-06-27 16:19:02 · 251 阅读 · 0 评论