1.

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» B. O (N log N)


Discussion

No Comment Found