摘要:
LeetCode 1541. Minimum Insertions to Balance a Parentheses String (平衡括号字符串的最少插入次数) 题目 链接 https://leetcode-cn.com/problems/minimum-insertions-to-balanc 阅读全文
posted @ 2022-03-25 17:56
cheng102e
阅读(55)
评论(0)
推荐(0)
摘要:
LeetCode 921. Minimum Add to Make Parentheses Valid (使括号有效的最少添加) 题目 链接 https://leetcode-cn.com/problems/minimum-add-to-make-parentheses-valid/ 问题描述 只有 阅读全文
posted @ 2022-03-25 16:58
cheng102e
阅读(92)
评论(0)
推荐(0)
摘要:
LeetCode 225. Implement Stack using Queues (用队列实现栈) 题目 链接 https://leetcode-cn.com/problems/implement-stack-using-queues/ 问题描述 请你仅使用两个队列实现一个后入先出(LIFO)的 阅读全文
posted @ 2022-03-25 12:11
cheng102e
阅读(34)
评论(0)
推荐(0)
摘要:
LeetCode 232. Implement Queue using Stacks (用栈实现队列) 题目 链接 https://leetcode-cn.com/problems/implement-queue-using-stacks/ 问题描述 请你仅使用两个栈实现先入先出队列。队列应当支持一 阅读全文
posted @ 2022-03-25 11:16
cheng102e
阅读(29)
评论(0)
推荐(0)

浙公网安备 33010602011771号