Implementing Stack using Array in Java

Pubblicato il: 25 luglio 2021
sul canale di: Simply Coding
4,552
91

In this video we will learn what is a Stack and what are different operations that we can perform in Stack. We then write the code to implement it in Java.
We also write the program parenthesis checker which uses Stack to check if brackets are balanced.

00:00 What is a stack
00:32 Different Operations on Stack
00.54 What is overflow in Stack
01:21 What is underflow in Stack
05:02 Defining class for Stack
05:27 Implementing parameterized Constructor
06:00 Implementing default Constructor
06:21 Implementing push() operation in Stack
07:13 Implementing pop() operation in Stack
07:57 Implementing peek() operation in Stack
08:36 Implementing isEmpty() operation in Stack
08:57 Implementing display() operation in Stack
09:43 Implementing Parenthesis Checker using Stack


In questa pagina del sito puoi guardare il video online Implementing Stack using Array in Java della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Simply Coding 25 luglio 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 4,552 volte e gli è piaciuto 91 spettatori. Buona visione!