2016年8月20日
摘要: 比如1,2,3 的出栈次序可以是{1,2,3}{2,1,3}{2,3,1}{1,3,2}{3,2,1}5种。 其实这个 和leetcode生成括号那个题目很像。题目链接https://leetcode.com/problems/generate-parentheses/ 题解 http://www. 阅读全文
posted @ 2016-08-20 15:00 Beserious 阅读(632) 评论(0) 推荐(0) 编辑