Explain stacks, Data Structure & Algorithms

What are stacks?

A stack is a data structure that organizes data similar to how one organizes a pile of coins. The new coin is always placed on the top and the oldest is on the bottom of the stack.

 

Posted Date: 5/10/2013 3:31:24 AM | Location : United States







Related Discussions:- Explain stacks, Assignment Help, Ask Question on Explain stacks, Get Answer, Expert's Help, Explain stacks Discussions

Write discussion on Explain stacks
Your posts are moderated
Related Questions
Define neotaxonomy. Discuss how electron microscopy can help in solving a zoological problem faced by taxonomist.

i need the full concept of it... please can anyone provide


Write the algorithm for Binary search. Also apply this algorithm on the following data. 22, 44, 11, 88, 33, 55, 77, 66

Q. Define the graph, adjacency matrix, adjacency list, hash function, adjacency matrix, sparse matrix, reachability matrix.

Data array A has data series from 1,000,000 to 1 with step size 1, which is in perfect decreasing order. Data array B has data series from 1 to 1,000,000, which is in random order.

A Stack has an ordered list of elements & an array is also utilized to store ordered list of elements. Therefore, it would be very simple to manage a stack by using an array. Thoug


Before programming a problem solution those employees a stack, we have to decide how to represent a stack by using the data structures which exist in our programming language. Stac

Merge sort is also one of the 'divide & conquer' classes of algorithms. The fundamental idea in it is to split the list in a number of sublists, sort each of these sublists & merge