Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged infix-prefix
0
votes
1
answer
1
What is the infix to postfix evaluation of (A+B)*(C*D - E)*F / G
According to my knowledge, it should be AB+CD*E-*F*G/ And, here is the step-wise explanation of it Converting the bracket of (A+B) - AB+ There is operator but the next operand is entire bracket term, it has to be ... Please confirm if my logic and answer is correct or not. Note Mind the space around / operator. It is there on purpose.
According to my knowledge, it should be AB+CD*E-*F*G/And, here is the step-wise explanation of itConverting the bracket of (A+B) – AB+There is operator but the next ope...
tbhaxor
839
views
tbhaxor
asked
Nov 24, 2023
DS
stack
infix-prefix
+
–
0
votes
1
answer
2
TOPIC - Infix to postfix and prefix conversion
Convert the following infix expression to postfix and prefix A^B^C^D
Convert the following infix expression to postfix and prefixA^B^C^D
akash28
784
views
akash28
asked
Feb 23, 2023
DS
infix-prefix
+
–
0
votes
3
answers
3
Stacks
The maximum size of the operator stack when converting the following infix to postfix expression a ^ b * c * d + e * f ^ g (assume that “^” has highest precedence and right associativity) and also output the postfix expression.
The maximum size of the operator stack when converting the following infix to postfix expressiona ^ b * c * d + e * f ^ g (assume that “^” has highest precedence and ...
vivek1211
751
views
vivek1211
asked
Nov 6, 2022
Programming in C
data-structures
stack
infix-prefix
+
–
0
votes
0
answers
4
postfix expression
I want to know which evaluation is wrong here: a-b-c = ab-c- or a-b-c = abc- – a * b *c = ab*c* a*b*c = abc** 3 . a+b-c = ab+c- a+b-c = abc-+
I want to know which evaluation is wrong here:a-b-c = ab-c- or a-b-c = abc- –a * b *c = ab*c* a*b*c = abc 3 . a+b-c = ab+c- a+b-c = ...
Overflow04
455
views
Overflow04
asked
Oct 2, 2022
Programming in C
self-doubt
infix-prefix
programming-in-c
+
–
0
votes
1
answer
5
The expression in postfix notation corresponding to the prefix notation ++A*B+CD*+EFG is
Arunava Samanta
707
views
Arunava Samanta
asked
Jun 28, 2022
DS
infix-prefix
+
–
2
votes
3
answers
6
TIFR CSE 2021 | Part B | Question: 3
What is the prefix expression corresponding to the expression: $\left ( \left ( 9+8 \right ) \ast 7+\left ( 6\ast \left ( 5+4 \right ) \right )\ast 3\right )+2?$ You may assume that $\ast$ has precedence over $+$? $\ast + +\: 987 \ast \ast \: 6 + + \:5432$ ... $+ + \ast +\: 987 \ast \ast \: 6 + \:5432$ $+ \ast + \ast \: 987+ + \: 6 \ast \:5432$
What is the prefix expression corresponding to the expression:$\left ( \left ( 9+8 \right ) \ast 7+\left ( 6\ast \left ( 5+4 \right ) \right )\ast 3\right )+2?$You may as...
soujanyareddy13
832
views
soujanyareddy13
asked
Mar 25, 2021
DS
tifr2021
data-structures
stack
infix-prefix
+
–
1
votes
1
answer
7
GATE Overflow Test Series | Data Structures | Test 1 | Question: 3
What is the value of the postfix expression $8 \ 7 \ 2 \ 4 \ + \ – \ *?$:
What is the value of the postfix expression $8 \ 7 \ 2 \ 4 \ + \ – \ *?$:
gatecse
185
views
gatecse
asked
Aug 9, 2020
DS
go2025-ds-1
numerical-answers
stack
infix-prefix
+
–
1
votes
1
answer
8
GATE Overflow Test Series | Data Structures | Test 1 | Question: 5
The prefix form of $A/B- (C * D * E)$ is? $-/* * ABCDE$ $-/ABCD**DE$ $-/AB**CDE$ $-A/BC*DE*$
The prefix form of $A/B- (C * D * E)$ is?$-/* * ABCDE$$-/ABCD DE$$-/AB CDE$$-A/BC*DE*$
gatecse
160
views
gatecse
asked
Aug 9, 2020
DS
go2025-ds-1
infix-prefix
stack
+
–
4
votes
3
answers
9
NIELIT 2017 July Scientist B (CS) - Section B: 6
Assume that the operators $+,-,\times$ are left associative and $\wedge$ is right associative. The order of precedence(from highest to lowest) is $\wedge,\times, +,-$ ... $abc\times+de\wedge f\wedge-$ $ab+c\times d-e\wedge f\wedge $ $-+a\times bc\wedge\wedge def$
Assume that the operators $+,-,\times$ are left associative and $\wedge$ is right associative. The order of precedence(from highest to lowest) is $\wedge,\times, +,-$. Th...
admin
1.2k
views
admin
asked
Mar 30, 2020
DS
nielit2017july-scientistb-cs
data-structures
stack
infix-prefix
+
–
4
votes
3
answers
10
ISRO2020-4
Convert the pre-fix expression to in-fix $- ^{\ast} +ABC^{\ast} – DE+FG$ $(A-B)^{\ast}C+(D^{\ast}E)-(F+G)$ $(A+B)^{\ast}C-(D-E)^{\ast}(F+G)$ $(A+B-C)^{\ast}(D-E)^{\ast}(F+G)$ $(A+B)^{\ast}C-(D^{\ast}E)-(F+G)$
Convert the pre-fix expression to in-fix $- ^{\ast} +ABC^{\ast} – DE+FG$$(A-B)^{\ast}C+(D^{\ast}E)-(F+G)$$(A+B)^{\ast}C-(D-E)^{\ast}(F+G)$$(A+B-C)^{\ast}(D-E)^{\ast}(F+...
Satbir
2.9k
views
Satbir
asked
Jan 13, 2020
DS
isro-2020
data-structures
infix-prefix
normal
+
–
1
votes
0
answers
11
Made Easy Test Series: Algorithm-Reverse Polish Notation
Consider the new-order strategy for traversing a binary tree: Visit the root Visit the right subtree using new-order Visit the left subtree using new-order The new-order traversal of expression tree corresponding to the reverse polish expression 3 4 * 5 – 2 ^ 6 7 * 1 + – What will be expression, any procedure for it??
Consider the new-order strategy for traversing a binary tree:Visit the rootVisit the right subtree using new-orderVisit the left subtree using new-orderThe new-order trav...
srestha
586
views
srestha
asked
May 16, 2019
Compiler Design
infix-prefix
algorithms
time-complexity
+
–
1
votes
0
answers
12
Applied Course | Mock GATE | Test 1 | Question: 42
What is the maximum number of activation records inserted into stack while converting following infix expression to postfix expression is Infix expression: $\text{7+5*3^2/(9-2^2)+6*4}$
What is the maximum number of activation records inserted into stack while converting following infix expression to postfix expression is Infix expression: $\text{7+5*3^2...
Applied Course
1.0k
views
Applied Course
asked
Jan 16, 2019
DS
applied-course-2019-mock1
numerical-answers
data-structures
stack
infix-prefix
+
–
0
votes
1
answer
13
# stack
infix ,postfix ,prefix expression evalution stack use as operator or operand?
infix ,postfix ,prefix expression evalution stack use as operator or operand?
amit166
442
views
amit166
asked
Jan 10, 2019
DS
data-structures
stack
infix-prefix
+
–
2
votes
0
answers
14
MadeEasy Subject Test 2019: Programming & DS - Stack
I THING THERE IS MISTAKE BECAUSE BRACKET ARE CLOSING AFTER ELEMENT E SO ALL OPERATORS HOULD BE POPED AND AND ACCORDING TO ME ANWER SHOLD BE 2… TRY AND CORRECT IF I M WRONG !!!! THANKS IN ADVANCE!!!
I THING THERE IS MISTAKE BECAUSE BRACKET ARE CLOSING AFTER ELEMENT E SO ALL OPERATORS HOULD BE POPED AND AND ACCORDING TO ME ANWER SHOLD BE 2…TRY AND CORRECT IF I M WR...
CHïntän ÞäTël
454
views
CHïntän ÞäTël
asked
Dec 7, 2018
Programming in C
made-easy-test-series
data-structures
stack
infix-prefix
+
–
2
votes
2
answers
15
MadeEasy Test Series: Programming & DS - Stack
My doubt : What should we consider ^ operator as Bitwise XOR ? or Exponentiation
My doubt : What should we consider ^ operator as Bitwise XOR ? or Exponentiation
jatin khachane 1
1.3k
views
jatin khachane 1
asked
Dec 1, 2018
DS
made-easy-test-series
data-structures
stack
infix-prefix
+
–
1
votes
0
answers
16
Infix to prefix
What is the stack size while implementing this infix to postfix expression using operator stack? a+b+c+d+e
What is the stack size while implementing this infix to postfix expression using operator stack?a+b+c+d+e
Avir Singh
612
views
Avir Singh
asked
Nov 27, 2018
Algorithms
infix-prefix
+
–
0
votes
0
answers
17
Infix to postfix (Complicated declarations)
Please convert it to postfix by using stack and explain in detail void (*bsd_signal(int sig, void (*func)(int)))(int);
Please convert it to postfix by using stack and explain in detailvoid (*bsd_signal(int sig, void (*func)(int)))(int);
Mk Utkarsh
847
views
Mk Utkarsh
asked
Oct 20, 2018
Programming in C
stack
data-structures
infix-prefix
+
–
0
votes
1
answer
18
TESTBOOK TEST SERIES
HOW TO SOLVE THIS?
HOW TO SOLVE THIS?
Avik Chowdhury
551
views
Avik Chowdhury
asked
Sep 9, 2018
DS
infix-prefix
+
–
0
votes
2
answers
19
Data Structure - Postfix
sidlewis
2.2k
views
sidlewis
asked
Sep 2, 2018
Programming in C
data-structures
infix-prefix
+
–
0
votes
0
answers
20
Gate forum test series
nag.swarna
348
views
nag.swarna
asked
Aug 23, 2018
DS
infix-prefix
+
–
Page:
1
2
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register