摘要:
/* * @lc app=leetcode.cn id=150 lang=cpp * * [150] 逆波兰表达式求值 */ // @lc code=start class Solution { public: int calc(int left, int right, char sign) { s 阅读全文
posted @ 2024-01-20 20:24
AngDH
阅读(20)
评论(0)
推荐(0)
摘要:
/* * @lc app=leetcode.cn id=20 lang=cpp * * [20] 有效的括号 */ // @lc code=start class Solution { public: bool isValid(string s) { stack<char> cs; for (cha 阅读全文
posted @ 2024-01-20 19:26
AngDH
阅读(11)
评论(0)
推荐(0)

浙公网安备 33010602011771号