What are the applications of a stack?
Explain the tower of hanoi alogrithm for disk, n = 4
Write a snippet code for push, pop, peep and change.
You are given with some computer nodes and the distance between the nodes. Your work is to find out the minimum length of wire that must be used to connect one computer to another. Which algorithm will you use to solve this. What is the peculiarity of this algorithm?
How will you implement a stack other than arrays?
Find the length of a string in a single line.
Friday, December 19, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment