Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 1

STACK IMPLEMENTATION USING LINKED LIST

OUTPUT:

The Poss ib le opera t i ons a re


1 .Push 2 .Pop 3 .D i sp lay 4 .Ex i t

Ente r your cho i ce - > 1


Ente r the node data : 2

The Poss ib le opera t i ons a re


1 .Push 2 .Pop 3 .D i sp lay 4 .Ex i t

Ente r your cho i ce - > 1


Ente r the node data : 8

The Poss ib le opera t i ons a re


1 .Push 2 .Pop 3. Disp lay 4 .Ex i t

Ente r your cho i ce - > 1


Ente r the node data : 10

The Poss ib le opera t i ons a re


1 .Push 2 .Pop 3 .D i sp lay 4 .Ex i t

Ente r your cho i ce - >


Ente r the node data : 1

The Poss ib le opera t i ons a re


1 .Push 2 .Pop 3 .D i sp lay 4 .Ex i t

Ente r your cho i ce - > 2


The poped e lement i s 1

The Poss ib le opera t i ons a re


1 .Push 2 .Pop 3 .D i sp lay 4 .Ex i t

Ente r your cho i ce - > 3


- >2->8->10

The Poss ib le opera t i ons a re


1 .Push 2 .Pop 3 .D i sp lay 4 .Ex i t

Ente r your cho i ce - > 4

1 | Page Stack LL – o/p

You might also like