![](https://img-blog.csdnimg.cn/2020051218094172.jpg?x-oss-process=image/resize,m_fixed,h_224,w_224)
LeetCode
文章平均质量分 95
LeetCode刷题笔记
Camilleferros
あきらめるな
展开
-
LeedCode-733. Flood Fill
强烈推荐,刷PTA的朋友都认识一下柳神–PTA解法大佬不刷也可以认识一下本文由参考于柳神博客写成柳神的CSDN博客,这个可以搜索文章柳神的个人博客,这个没有广告,但是不能搜索还有就是非常非常有用的 算法笔记 全名是算法笔记 上级训练实战指南 //这本都是PTA的题解算法笔记PS 今天也要加油鸭题目原文The “eight queens puzzle” is the problem of placing eight chess queens on an 8×8 chessboard原创 2021-08-14 15:42:41 · 212 阅读 · 0 评论 -
LeedCode-Easy-Maximum Subarray
题目原文Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum.Example:Input: [-2,1,-3,4,-1,2,1,-5,4],Output: 6Explanation: [4,-1,2,1] has the largest sum = 6.Follow up:If原创 2020-07-02 23:39:39 · 151 阅读 · 0 评论 -
LeedCode-Easy 38. Count and Say
题目原文The count-and-say sequence is the sequence of integers with the first five terms as following:1. 12. 113. 214. 12115. 1112211 is read off as "one 1" or 11.11 is read off as "two 1s" or 21.21 is read off as "one 2, then one原创 2020-07-02 21:28:04 · 192 阅读 · 0 评论 -
LeedCode-Easy 21,26,27,28,35
Merge Two Sorted Lists题目原文Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.Example:Input: 1->2->4, 1->3->4Output: 1->1->2->3->4->4原创 2020-07-02 21:09:06 · 150 阅读 · 0 评论 -
LeedCode-Easy 1,7,9,13,14,20
文章目录Two Sum翻译:自己写的代码优秀的代码Reverse Integer1翻译代码Palindrome Number题目原文代码①字符串的解法-自己写的②不用字符串的写法Roman to Integer题目原文简单分析:代码下面是我用map写的代码:下面是大佬的代码Longest Common Prefix题目原文题目大意大佬的代码如下:Valid Parentheses题目原文:题目大意:我的代码如下:思路如下因本人才疏学浅,如有错误之处,还请见谅Two SumGiven an array原创 2020-05-12 18:05:19 · 278 阅读 · 0 评论