Puzzle CornerSign In
HomeFeedbackBlogResourcesAbout
Starred
Add Question
All (696)
coding (266)
c++ (157)
algorithms (151)
puzzle (134)
CS Fundamentals (83)
oop (55)
arrays (45)
internet (40)
string (34)
math (31)
databases (28)
system (26)
probability (26)
networking (25)
linkedlist (24)
binarytrees (24)
tree (22)
bit manipulation (19)
sorting (11)
stack (10)
bst (9)
java (8)
xml (8)
sql (7)
next in series (7)
traversal (6)
graph (4)
debugging (4)
lateral thinking (4)
palindrome (4)
mysql (4)
prime (4)
general (4)
unix (3)
CGI (3)
duplication (3)
threading (3)
random (3)
search (3)
fibonacci (3)
encryption (3)
joins (3)
hash (3)
queue (3)
asm (3)
design patterns (2)
i need answer[2009-08-04 06:08:22]
Write a program to implement stack with POP and PUSH operations
Author:daveenyTags: stack2 Comments


Answers:


[2009-10-09 12:42:37]
Use an array to implement it. Keep an index, to keep the top of stack in array.
Author:Anon

[2010-01-21 21:38:18]
Also dead simple with a linked list but with no resizes.
Author:Anon




Created by Premchand Jayamohan