Java Discover

Java Discover is a Java technical blog mainly created for sharing our thoughts and programming question to the world of Java Programmers..

Showing posts with label Stack. Show all posts
Showing posts with label Stack. Show all posts

Do you know, How to reverse a number using stack?

›
Given a number, write a program to reverse this number using stack operations like push(), and pop() in Java. For example Input : 12...

Stack implementation using Linked List

›
We have seen Stack implementation using array in our earlier tutorials. Now lets see same stack implementation using Linked List and how...

Implement Stack in Java

›
In our earlier tutorial we have seen how to use default Stack class in Java and their methods like push, pop, peek etc., Suppose in any...

Stack class in java

›
Basically Stack represents last-in-first-out (LIFO) ordering of objects. In Java Stack extends Vector and defines its own five methods a...

Heap and Stack in Java

›
We are discussing few interview questions from our earlier tutorials and its a follow-up with same interview questions in Java. Questio...
›
Home
View web version
Powered by Blogger.