Valid Parentheses
摘要:
//网上的做法1 #include 2 class Solution { 3 public: 4 bool isValid(string s) { 5 6 stack str; 7 for(char&c:s) //将S的每个字符依次赋值到C里面 8 ... 阅读全文
posted @ 2015-10-21 16:12 RenewDo 阅读(116) 评论(0) 推荐(0) 编辑
posted @ 2015-10-21 16:12 RenewDo 阅读(116) 评论(0) 推荐(0) 编辑