Examveda

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

A. O (N log N)

B. O (N2)

C. O (N)

D. O (M log N)

Answer: Option C


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

Join The Discussion

Related Questions on Stacks in Data Structures