Queue made of 2 stacks

1
2
/* 10.1-6
Show how to implement a queue using two stacks. Analyze the running time of
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This program implements a queue by using 2 stacks. It only allows enqueueing elements.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.