a) O(N log N) b) O(N) c) O(N2) d) O(M log N)
View QuestionWhich of the following is an infix expression?
a) (a+b)*(c+d) b) ab+c* c) +ab d) abc+* Answer: ...
View QuestionWhat should be done when a left parenthesis ‘(‘ is encountered?
a) It is ignored b) It is placed in the output c) It is ...
View QuestionWhen an operand is read, which of the following is done?
a) It is placed on to the output b) It is ...
View Question
What would be the Prefix notation for the given equation?
a|b & c
What would be the Prefix notation for the given equation? a|b & c a) a|& bc
View Question
What would be the Prefix notation and Postfix notation for the given equation?
A+B+C
What would be the Prefix notation and Postfix notation for the given equation? A+B+C a) ++ABC ...
View Question
What would be the Prefix notation for the given equation?
(a+(b/c)*(d^e)-f)
What would be the Prefix notation for the given equation? (a+(b/c)*(d^e)-f) a) -+a*/^bcdef b) ...
View Question
What would be the Prefix notation for the given equation?
a+b-c/d & e|f
What would be the Prefix notation for the given equation? a+b-c/d & e|f a) |&-+ab/cdef b) ...
View Question
What would be the Prefix notation for the given equation?
A^B^C^D
What would be the Prefix notation for the given equation? A^B^C^D a) ^^^ABCD b) ^A^B^CD c) ...
View QuestionOut of the following operators (|, *, +, &, $), the one having lowest priority is ________
a) + b) $ c) | d) & Answer: c Explanation: According to the algorithm (infix-prefix), ...
View Question