Page 1 of 1

What is the time complexity of reversing a word using stack algorithm?

Posted: Wed Jul 13, 2022 7:41 pm
by answerhappygod
a) O (N log N)
b) O (N2)
c) O (N)
d) O (M log N)