Re: Building a linked list



brianlaca@xxxxxxxxx wrote:
I do and my apologies for posting prior to searching. Will
extensively search the archives in the future.

An apology wasn't the point of my comment but rather to provide a clue where some useful information might reside.

Roedy Green's website,
<http://www.mindprod.com/>
in its "Java" section has excellent advice on getting started with problems, buried amongst all the other excellent advice there.

Patricia Shanahan gets into the nitty gritty of how to approach such problems in her article at
<http://home.earthlink.net/~patricia_shanahan/beginner.html>

Read her
<http://home.earthlink.net/~patricia_shanahan/debug/index.html>
also.

it is for my data structures class.

Did your class discuss the algorithms of a linked list?

That is, do you understand in abstract terms how to do it, so that only Java is the difficulty?

If that's all you've got, how about you post the logic you have, in pseudocode or some suitable "logic" form?

If you have Java code already, what is the exact difficulty?

As Robert advised and asked:
If you're all set on adding that's what you do. Add the nodes one at
a time to build your list. Am I confused here?

You could show us what you've got so far and tell us what part of it is giving you /agita/.

--
Lew
.



Relevant Pages

  • re: thread
    ... >> And the message about handling these things at a strategic level ... >> whenever possible is enticing, ... > This book was written by two Sun engineers who work on the Java ... this was my original advice to the OP. ...
    (comp.lang.java.help)
  • Re: [SLE] Java How-To (SuSE 8.x, RedHat 8.x)
    ... After reading both your advice and the reply from Roberto Dohnert, ... create a link to the new java, the above stuff seems to take care ... For the Mozilla plugin, Mozilla has the best info on that at ...
    (SuSE)
  • Re: Building a linked list
    ... buried amongst all the other excellent advice there. ... the ones who struggled hard to master the material, ... The Java Glossary ...
    (comp.lang.java.programmer)
  • Re: spyware PING: David
    ... > Java and was ultimately sued by Sun and Microsoft rightfully lost the ... > phase out the use of their application of Sun Java. ... David ... I was thinking about their advice to move away from using MS Java. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: extreme newbie
    ... was that it is a little more secure than ... distributing the source code isn't it? ... Java virtual machine is more popular. ... once again thanks for your advice. ...
    (comp.lang.python)