558 views
0 votes
0 votes
Is Infix, Pre-fix and Postfix evaluation there (in syllabus) in Stacks topic under Data Structures?

1 Answer

0 votes
0 votes
Also learn Stack permutations. Like Finding correct/ Incorrect sequence of stack permutation.

For example,

For the input sequence 1 2 3 4 5, find Invalid sequence in stack permutation ????

1) 4 3 5 2 1
2) 2 3 5 4 1
3) 5 4 3 2 1
4) 3 4 1 5 2

Answer is .... 4

Related questions

0 votes
0 votes
1 answer
2
radha gogia asked Jul 28, 2015
667 views
If any infix expression has embedded function calls in it then how many stacks will it require for computing postfix expression , does it depend on the number of function...
0 votes
0 votes
1 answer
3
akash28 asked Feb 23, 2023
761 views
Convert the following infix expression to postfix and prefixA^B^C^D
0 votes
0 votes
0 answers
4