Infix to Prefix Translation: The Insufficiency of a Pushdown Stack
暂无分享,去创建一个
The permutations of the input string achievable by an algorithm which uses a single pushdown stack and M random access storage locations are characterized, and the characterization is used to show that no such algorithm can translate arithmetic expressions from infix to prefix.
[1] Robert E. Tarjan,et al. Sorting Using Networks of Queues and Stacks , 1972, J. ACM.