Examveda

What is the time complexity of balancing parentheses algorithm?

A. O (N)

B. O (N log N)

C. O (M log N)

D. O (N2)

Answer: Option A


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

Join The Discussion

Related Questions on Stacks in Data Structures