23.11.2014 Views

Data Structures and Algorithms in Java[1].pdf - Fulvio Frisone

Data Structures and Algorithms in Java[1].pdf - Fulvio Frisone

Data Structures and Algorithms in Java[1].pdf - Fulvio Frisone

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.

Stacks..............................................<br />

188<br />

5.1.1<br />

The Stack Abstract <strong>Data</strong> Type.......................<br />

189<br />

5.1.2<br />

A Simple Array-Based Stack Implementation..........<br />

192<br />

5.1.3<br />

Implement<strong>in</strong>g a Stack with a Generic L<strong>in</strong>ked List....<br />

197<br />

5.1.4<br />

Revers<strong>in</strong>g an Array Us<strong>in</strong>g a Stack...................<br />

199<br />

5.1.5<br />

Match<strong>in</strong>g Parentheses <strong>and</strong> HTML Tags.................<br />

200<br />

5.2<br />

Queues..............................................<br />

204<br />

5.2.1<br />

The Queue Abstract <strong>Data</strong> Type.......................<br />

204<br />

5.2.2<br />

ASimple Array-Based Queue Implementation...........<br />

259

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

Saved successfully!

Ooh no, something went wrong!