943,938 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 1230
  • Java RSS
Jan 7th, 2006
0

Linkedlist Troubles...plz Help

Expand Post »
i've been stuck with linkedlist, can't get my head to think of how it works...i have and assignement on this. i have a few questions that maibe you guys could help with. I'd appreciate it thanks in advance!

1.sorting numbers
2.takes either an integer or ListNode reference and removes that element from the list withough destroying the integrity of the list
3.takes the position of the element in the linkedlist and deletes it
4.Merges two Linked lists that are in sorted order and maintains the order when together

I'd appreciate an answer for any of these questions, even one would be awsome thanks very much
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
bbbilkkk is offline Offline
2 posts
since Jan 2006
Jan 8th, 2006
0

Re: Linkedlist Troubles...plz Help

Collections API can do all that and a lot more.
I wonder why teachers choose Java as a language for teaching and then expect their students to do things in it that the core API can do very well thank you.

I know the curiculum is left over from C, but it's better done in C anyway. Beautiful language, perfect for teaching core programming skills (apart from OO).

And no, we're not going to do your homework for you. If you have SPECIFIC questions about something where you're stuck on a detail we may be able to steer you in the right direction but we're not going to write your entire paper (which is what you're essentially asking).
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: java problem
Next Thread in Java Forum Timeline: linked list..quick question





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC