![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LeetCode
每日刷题记录
不想做大牛的码农不是好程序员
这个作者很懒,什么都没留下…
展开
-
优先队列 PriorityQueue源码解析
优先队列PriorityQueue源码解析原创 2023-02-14 14:32:39 · 136 阅读 · 0 评论 -
LeetCode算法第14题-最长公共前缀
题目 编写一个函数来查找字符串数组中的最长公共前缀。 如果不存在公共前缀,返回空字符串 ""。 示例 1: 输入: ["flower","flow","flight"] 输出: "fl" 示例 2: 输入: ["dog","racecar","car"] 输出: "" 解释: 输入不存在公共前缀。 说明: 所有输入只包含小写字母 a-z 。 解题 String longest...原创 2019-11-19 14:07:57 · 143 阅读 · 0 评论