Re: Building a linked list
- From: Lew <lew@xxxxxxxxxxxxx>
- Date: Thu, 20 Sep 2007 01:01:15 -0400
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
.
- Follow-Ups:
- Re: Building a linked list
- From: Roedy Green
- Re: Building a linked list
- From: nebulous99
- Re: Building a linked list
- References:
- Building a linked list
- From: bribriLA
- Re: Building a linked list
- From: Robert
- Re: Building a linked list
- From: Lew
- Re: Building a linked list
- From: brianlaca
- Building a linked list
- Prev by Date: Re: Building a linked list
- Next by Date: Properly encoding "Project Gutenburg 1913 Webster Unabridged Dictionary".
- Previous by thread: Re: Building a linked list
- Next by thread: Re: Building a linked list
- Index(es):
Relevant Pages
|