Skip to main content

Posts

Showing posts with the label stack using array

How to implement stack using array in java | Stack Implementation using Array

In This tutorial we will see one of the most frequently asked java interview question which is basically asked in most of the product based question. you must understand this implementation from array data structure to stack. how to implement stack using array. you need to write code in such a way that you use array and achieve all the functionality/Method of the stack as mentioned below  push  -  Insert/add element in the stack pop - Remove element from top of the stack peek - Return element from top of the stack (do not remove) Check out the video with complete details and explanation of each steps, also see debugging each line code and understand the concept behind the implementation git repo:- https://github.com/pushpendragupta1993/DataStructureAndAlgorithms/blob/master/src/com/training/StackCustom.java How to implement stack using array in java, Stack Implementation using Array stack in data structure,data structures tutorials, operating system, data structure and a...