10.09.2013 Views

1. Advanced Data Structure using C++

1. Advanced Data Structure using C++

1. Advanced Data Structure using C++

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

LECTURE NOTES OF ADVANCED DATA STRUCTURE (MT-CSE 110)<br />

a[5],a[6],a[7] position of the array is empty and it is wasted.<br />

• Int a[7]<br />

max. size of array=7<br />

we cannot insert more elements because stack is full.<br />

STATIC IMPLEMENTATION<br />

OPERATIONS ON STACK<br />

The two basic operation that can be performed on stack are:<br />

• Push operation<br />

• Pop operation<br />

Prepared By :­<br />

Er. Harvinder Singh<br />

Assist Prof., CSE, H.C.T.M (Kaithal) Page ‐ 161 ‐

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!