menu
Login
Register
search
Log In
account_circle
Log In
Email or Username
Password
Remember
Log In
Register
I forgot my password
Register
Username
Email
Password
Register
add
Activity
Questions
Unanswered
Tags
Subjects
Users
Ask
Prev
Blogs
New Blog
Exams
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
JEST 2021 registrations are open
TIFR GS-2021 Online Application portal
IIT Jodhpur Mtech AI - Interview Expierence (Summer Admission)
Interview experience at IIT Tirupati for MS program winter admission
IITH CSE interview M Tech RA Winter admission 2021
Subjects
All categories
General Aptitude
(2.1k)
Engineering Mathematics
(8.4k)
Digital Logic
(3k)
Programming and DS
(5.1k)
Programming
(3.6k)
DS
(1.5k)
Algorithms
(4.5k)
Theory of Computation
(6.3k)
Compiler Design
(2.2k)
Operating System
(4.7k)
Databases
(4.3k)
CO and Architecture
(3.5k)
Computer Networks
(4.3k)
Non GATE
(1.2k)
Others
(1.3k)
Admissions
(595)
Exam Queries
(838)
Tier 1 Placement Questions
(16)
Job Queries
(71)
Projects
(19)
Unknown Category
(1.1k)
Recent Blog Comments
Hi, could you please update us about the Mock...
Hi, just curious if there are any updates...
thanks himanshu2021. But I am asking for the page...
But IISc hasn't mentioned TCS as one of their...
@kiioo https://gateoverflow.in/blog/11426/jest-20...
Network Sites
GO Mechanical
GO Electrical
GO Electronics
GO Civil
CSE Doubts
Postfix Expression
0
votes
668
views
Let The value of below expression is A.
6 2 3 + - 3 8 2 / + * 3 ^ 3 +
and Let the value of below expression is Y:
2 A * 16 +
What is value of sqrt(Y)
Ans. 16
data-structures
infix-prefix
🚩 Duplicate
|
👮
Himanshu Kumar Gupta
|
💬 “https://gateoverflow.in/273171/madeeasy-test-series-programming-%26-ds-stack”
asked
Aug 22, 2018
in
DS
Na462
1
flag
668
views
answer
comment
1
I am getting answer as 26.60. Please Verify anyone. I am not getting the required answer :(
0
I am getting the same..can you post the solution?
0
In solution they simply say A =120 without giving solution and further calculate value of Y
1
I don't think they are right... :/
0
added the solution @minipanda
0
duplicate
https://gateoverflow.in/273171/madeeasy-test-series-programming-%26-ds-stack
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
2
votes
|6|2|3| +
|6|5| - (2+3=5)
|1| (6-5=1)
|1|3|8|2| /
|1|3|4|+ (8/2=4)
|1|7|* (3+4=7)
|7| (1*7=7)
|7|3|^ (7^3 = 343)
|343|3|+
|346|
Therefore A=346
Y= 2*346+16 = 708
answer should be 26.60
answered
Aug 22, 2018
manisha11
comment
0
Yes it is 26.60..but answer key is 16 :/
0
the answer is $26.60$ and $16$ is wrong i think.
0
correct answer is 26.6;
16 is wrong for sure;
Please
log in
or
register
to add a comment.
← Prev.
Next →
← Prev. Qn. in Sub.
Next Qn. in Sub. →
Related questions
0
votes
1
answer
1
855
views
Evaluation of Postfix expression using stack
What is time and space complexity to evaluate postfix expression ?
What is time and space complexity to evaluate postfix expression ?
asked
May 6, 2018
in
DS
JaiKumar Guwalani
855
views
data-structures
time-complexity
space-complexity
infix-prefix
stack
3
votes
1
answer
2
1.4k
views
infix, prefix, postfix
Time required to evaluate a. prefix, b. infix, c. postfix_____O(n) ? for expression evaluation (infix, prefix, postfix) operand stack needed____True? for conversion from one to another notation operator stack needed_____True? time required for conversion from infix to ... { infix, prefix, postfix } require more scan__? PS: i googled for all this but not found anthing exact..
Time required to evaluate a. prefix, b. infix, c. postfix_____O(n) ? for expression evaluation (infix, prefix, postfix) operand stack needed____True? for conversion from one to another notation operator stack needed_____True? time required for conversion from infix to postfix___O(n) ... among { infix, prefix, postfix } require more scan__? PS: i googled for all this but not found anthing exact..
asked
Nov 26, 2016
in
DS
2018
1.4k
views
data-structures
infix-prefix
1
vote
0
answers
3
757
views
Postfix and Prefix
Conver the following infix to Postfix and Prefix $log ( 3 ! )^ {log4} *log log ((6/7)*4+x)!$ $ sin 2x cos (3x+4) $ Please use stack method to solve . Diagram would be appreciated
Conver the following infix to Postfix and Prefix $log ( 3 ! )^ {log4} *log log ((6/7)*4+x)!$ $ sin 2x cos (3x+4) $ Please use stack method to solve . Diagram would be appreciated
asked
Nov 10, 2016
in
DS
PEKKA
757
views
data-structures
infix-prefix
2
votes
3
answers
4
2k
views
MadeEasy Test Series: Programming & DS - Infix Postfix
Consider the following expression with infix notation A * B - (C + D) * (E / 5) ^ F What is the maximum height of the operator stack during conversion from infix to postfix ? a) 3 b) 4 c) 5 d) 6
Consider the following expression with infix notation A * B - (C + D) * (E / 5) ^ F What is the maximum height of the operator stack during conversion from infix to postfix ? a) 3 b) 4 c) 5 d) 6
asked
Jan 28, 2016
in
DS
Tushar Shinde
2k
views
made-easy-test-series
data-structures
stack
infix-prefix
...