摘要:
20230204 通过 20230207 通过 20230220 通过 20230302 通过 题目 约束 解法 class Solution { public: bool isValid(string s) { int n = s.size(); if (n % 2 == 1) { return 阅读全文
posted @ 2023-01-31 21:25
垂序葎草
阅读(17)
评论(0)
推荐(0)
摘要:
stack stk; stk.empty() empty():在栈中没有元素的情况下返回 true stk.top() top():返回一个栈顶元素的引用,类型为 T&。如果栈为空,返回值未定义。 stk.pop() pop():弹出栈顶元素 stk.push(ch) push(const T& o 阅读全文
posted @ 2023-01-31 21:24
垂序葎草
阅读(60)
评论(0)
推荐(0)
摘要:
  
评论(0)
推荐(0)
浙公网安备 33010602011771号