pull/10/head
chefyuan 2021-03-20 14:19:50 +08:00
parent 257bff7a31
commit 4bffa624f7
4 changed files with 4 additions and 5 deletions

View File

@ -19,7 +19,7 @@
![删除重复元素对](E:\Typora笔记\CSDN\leetcode通关笔记\博客动图\删除重复元素对.gif)
![在这里插入图片描述](https://img-blog.csdnimg.cn/20210320141506967.gif)

View File

@ -41,7 +41,7 @@
下面我们直接上动图。
![合法的括号](E:\Typora笔记\CSDN\leetcode通关笔记\博客动图\合法的括号.gif)
![在这里插入图片描述](https://img-blog.csdnimg.cn/20210320141414239.gif)
题目代码:

View File

@ -39,7 +39,7 @@
废话不多说我们直接上动图,把该题吃透!
![移除K位数字](E:\Typora笔记\CSDN\leetcode通关笔记\博客动图\移除K位数字.gif)
![在这里插入图片描述](https://img-blog.csdnimg.cn/20210320141440557.gif)
PPT中的文字
@ -73,7 +73,6 @@ class Solution {
stack.pop();
k--;
}
//这个是最后栈为空时删除一位比如我们的10删除一位为0按上面逻辑我们会返回"",所以我们让其返回"0"
if (stack.isEmpty()) {
return "0";
}

View File

@ -6,7 +6,7 @@
废话不多说,大家看图
![栈实现队列](E:\Typora笔记\CSDN\leetcode通关笔记\博客动图\栈实现队列.gif)
![在这里插入图片描述](https://img-blog.csdnimg.cn/20210320141325908.gif)
这就是具体思路,然后我们来看一下题目示例及官方提供的函数都是什么意思。