Vidyalelo
Data Structure · Q47

Stacks in Data Structures

Programming · Data Structure · question 47

Q47

What is the time complexity of balancing parentheses algorithm?

A.
O (N)
Answer
B.
O (N log N)
C.
O (M log N)
D.
O (N2)

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board