摘要:
232.栈实现队列[https://leetcode.cn/problems/implement-queue-using-stacks/description/] 思路:无 class MyQueue { Stack<Integer> stackIn; Stack<Integer> stackOut 阅读全文
posted @ 2024-01-19 17:30
糟糕的家伙
阅读(6)
评论(0)
推荐(0)
摘要:
28. 找出字符串中第一个匹配项的下标[https://leetcode.cn/problems/find-the-index-of-the-first-occurrence-in-a-string/description/] 思路:KMP算法,重点在于求NEXT数组。还不能理解..暂时先背下来了。 阅读全文
posted @ 2024-01-19 17:27
糟糕的家伙
阅读(8)
评论(0)
推荐(0)

浙公网安备 33010602011771号