1.

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

A. O (N log N)
B. O (N<sup>2</sup>)
C. O (N)
D. O (M log N)
Answer» D. O (M log N)


Discussion

No Comment Found