首页
AI Coding
NEW
沸点
课程
直播
活动
AI刷题
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
会员
登录
注册
栈,队列
helloGitHub
创建于2022-03-18
订阅专栏
栈,队列
暂无订阅
共3篇文章
创建于2022-03-18
订阅专栏
默认顺序
默认顺序
最早发布
最新发布
【Leetcode】146. LRU Cache
可以用链表 + 哈希表的方法来做。链表的作用是存储key和value,哈希表的作用是存储key和key对应的node的前一个node,这是考虑到删除的情况下,需要知道要删除的node的前一个node。
【Leetcode】20. Valid Parentheses
题目地址: https://leetcode.com/problems/valid-parentheses/ Given a string s containing just the characte