LeetCode 726. 原子的数量

isdigit() 判断char是否为数字
islower()判断char是否为小写字母
to_string 转为string
对于括号序列相关的题目,通用的解法是使用递归或栈。

posted @ 2021-12-07 20:06  80k  阅读(32)  评论(0)    收藏  举报