Examveda

The time complexity of converting a prefix notation to infix notation is . . . . . . . .

A. O(n) where n is the length of the equation

B. O(n) where n is number of operands

C. O(1)

D. O(logn) where n is length of the equation

Answer: Option A


This Question Belongs to Data Structure >> Stacks In Data Structures

Join The Discussion

Related Questions on Stacks in Data Structures