Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

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: a
Explanation: The time complexity of balancing parentheses algorithm is mathematically found to be O (N).

Join The Discussion