Yuanql's Blog
  • 首页
  • 归档
  • 分类
  • 标签
  • 关于

SpringBoot2 参考资料

相关资料尚硅谷视频【尚硅谷】SpringBoot2零基础入门教程(spring boot2干货满满)b站视频 笔记https://www.yuque.com/atguigu/springboot 代码https://gitee.com/leifengyang/springboot2
2023-06-17
12_SpringBoot > SpringBoot2
#SpringBoot

459. 重复的子字符串

leetcode链接:https://leetcode.cn/problems/repeated-substring-pattern/ 题目分析字符串题目,优先考虑KMP算法。 方案一KMP算法, 首先想到的思考思路。 然后在运行过程中出现报错,为此,重新分析解题,如下图所示: 1234567891011121314151617181920212223242526272829303132333
2023-06-16
02_leetcode
#LeetCode

KMP算法

参考链接:代码随想录: https://programmercarl.com/0459.%E9%87%8D%E5%A4%8D%E7%9A%84%E5%AD%90%E5%AD%97%E7%AC%A6%E4%B8%B2.html#kmp 视频讲解版:帮你把KMP算法学个通透!(理论篇)(opens new window)视频讲解版:帮你把KMP算法学个通透!(求next数组代码篇)(opens ne
2023-06-15
02_leetcode
#LeetCode

28. 找出字符串中第一个匹配项的下标

leetcode链接:https://leetcode.cn/problems/find-the-index-of-the-first-occurrence-in-a-string/ 题目分析方法一暴力求解,双重循环。缺点:时间复杂度高 方法二KMP算法 方案一123456789101112131415161718192021class Solution { public int
2023-06-15
02_leetcode
#LeetCode

剑指 Offer 58 - II. 左旋转字符串

leetcode链接:https://leetcode.cn/problems/zuo-xuan-zhuan-zi-fu-chuan-lcof/ 方案一123456789101112131415class Solution { public String reverseLeftWords(String s, int n) { StringBuilder re
2023-06-15
02_leetcode
#LeetCode

151. 反转字符串中的单词

leetcode链接:https://leetcode.cn/problems/reverse-words-in-a-string/ 方案一先将String根据空格切分开,切分之后的String放到List数组中,反向遍历数组,实现反转。 1234567891011121314151617181920class Solution { public String reverseWo
2023-06-14
02_leetcode
#LeetCode

剑指 Offer 05. 替换空格

leetcode链接:https://leetcode.cn/problems/ti-huan-kong-ge-lcof/ 题目分析既然java已经提供看相关的功能函数,那就直接使用,冲 12345class Solution { public String replaceSpace(String s) { return s.replace(" &
2023-06-14
02_leetcode
#LeetCode

541. 反转字符串 II

leetcode链接:https://leetcode.cn/problems/reverse-string-ii/ 题目分析 注意审题!!! 根据题目要求中的 每 计数至2K个字符得知,存在反转的字符串的位置为 0 - (k-1)、 2k - (3k-1)、 4k 到 (5k-1)。。。。 方案一12345678910111213141516171819202122232425262728293
2023-06-14
02_leetcode
#LeetCode

344. 反转字符串

leetcode链接: https://leetcode.cn/problems/reverse-string/ 方案一双指针,指针指到的数据两两交换。 本方案思路与官方思想一致,具体官方答案如下链接所示:https://leetcode.cn/problems/reverse-string/solution/fan-zhuan-zi-fu-chuan-by-leetcode-solutio
2023-06-14
02_leetcode
#LeetCode

15.课程总结与回顾

本笔记来源于:尚硅谷JUC并发编程(对标阿里P6-P7)b站视频 文章来自: https://www.yuque.com/gongxi-wssld/csm31d/ln0mq1w7wp1oy99g https://www.yuque.com/liuyanntes/vx9leh/fpy93i https://blog.csdn.net/dolpin_ink/category_11
2023-06-13
18_JUC
#JUC
1…1718192021…53

搜索

Hexo Fluid
苏ICP备2023010323号-1