See the world from my eyes...
Monday, May 27, 2013
Stack and Queue Algorithm Questions
Use single array to implement 3 stack.
Implement stack class. Write push , pop and peek function. Write a function MIN which return minimum value in O(1).
Implement queue using 2 stacks.
1 comment:
Teknik Informatika
said...
what is the function of arrays?
August 20, 2022 at 1:11 AM
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
1 comment:
what is the function of arrays?
Post a Comment