website on data structures such as stacks and queues.

Hi,I'm currently try to read up on data structures such as stacks, queues but don't quite understand how to implement that. Is there any useful links with example that I can read up from?Thanks
[216 byte] By [pelicanleonga] at [2007-10-1 1:15:58]
# 1
> Is there any useful links with> example that I can read up from?Yes. http://java.sun.com/j2se/1.5.0/docs/api/index.html
Adeodatusa at 2007-7-8 1:32:48 > top of Java-index,Security,Event Handling...
# 2
Any tutorials on this topic too?
lido20000a at 2007-7-8 1:32:48 > top of Java-index,Security,Event Handling...
# 3

Depends what you mean by "implement". If you want to use standard Java classes that are already written, and you want to know which to choose, then

http://java.sun.com/docs/books/tutorial/collections/

If you want to write your own, for some obscure reason, then read a book on data structures. Or try to write your own implementation of the Java collection classes.

DrClapa at 2007-7-8 1:32:48 > top of Java-index,Security,Event Handling...
# 4
> for some obscure reasona) They make us for a grade.b) It's fun.c) A better undertsnading of the implementation makes for a better understanding of how and when and why to use a given structure.
Adeodatusa at 2007-7-8 1:32:48 > top of Java-index,Security,Event Handling...