摘要:
比如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
阅读(642)
评论(0)
推荐(0)
浙公网安备 33010602011771号