摘要:
Not hard to know it is simply transform from in-order to post-order.My first idea is to build a tree from in-order string and then traverse the tree by post-order - naive so slow.Subtle stack manipulation solves it - stack only for operators:http://cs.nyu.edu/courses/Fall12/CSCI-GA.1133-002/notes/In 阅读全文
posted @ 2014-02-04 14:59
Tonix
阅读(185)
评论(0)
推荐(0)

浙公网安备 33010602011771号