Results 1 to 14 of 14
- 04-11-2011, 08:04 AM #1
Member
- Join Date
- Apr 2011
- Posts
- 18
- Rep Power
- 0
help me on this: circular doubly linked list
You have to write a program to support the following operations regarding a circular doubly linked list with sentinels
a. Create empty list
b. Insert a key into the list
c. Search a key in the list
d. Delete a key form the list (Hint: search first and delete if found)
e. Display all the keys in the list
f. Destroy the list (Hint: use multiple deletes)Last edited by someone; 04-11-2011 at 08:49 AM.
- 04-11-2011, 08:15 AM #2
What do you want help on? No one is going to write it for you. So ask a question and recieve an answer or type of some code and post a problem you discovered with code.
Other than that, we can't help you.
- 04-11-2011, 08:48 AM #3
Member
- Join Date
- Apr 2011
- Posts
- 18
- Rep Power
- 0
yes I know I want to know where should I start. I mean I got trouble with start creating the list. if any one have idea just tell me
Thanks Dark
- 04-11-2011, 08:54 AM #4
Normally I start off my programs with this:
That's what I do. Any other questions?Java Code:public class myProgram { public static void main(Strings[] args) { } }
- 04-11-2011, 09:01 AM #5
Member
- Join Date
- Apr 2011
- Posts
- 18
- Rep Power
- 0
my question was regard the linked list it self
how can I start creating an empty list.
- 04-11-2011, 09:13 AM #6
Senior Member
- Join Date
- Dec 2008
- Location
- Kolkata
- Posts
- 280
- Rep Power
- 5
Using java apis or using your own class?
Swastik
- 04-11-2011, 09:18 AM #7
- 04-11-2011, 10:40 AM #8
Member
- Join Date
- Apr 2011
- Posts
- 18
- Rep Power
- 0
how to create empty list with linked list !
- 04-11-2011, 10:43 AM #9
Senior Member
- Join Date
- Dec 2008
- Location
- Kolkata
- Posts
- 280
- Rep Power
- 5
Have you gone through the api docs?
List<String> al=new LinkedList<String>();Swastik
- 04-11-2011, 10:44 AM #10
*Sigh* j2me64 just asked you what type of information are you trying to store in this list?
Strings? Integers? Doubles? Booleans?
- 04-11-2011, 10:45 AM #11
- 04-11-2011, 10:49 AM #12
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,604
- Blog Entries
- 7
- Rep Power
- 17
@OP: please don't double post.
kind regards,
JosWhen people rob a bank they get a penalty; when banks rob people they get a bonus.
- 04-11-2011, 10:52 AM #13
- 04-11-2011, 10:57 AM #14
Similar Threads
-
help me with this ! circular doubly linked list
By someone in forum Advanced JavaReplies: 1Last Post: 04-11-2011, 10:35 AM -
Help with doubly circular linked list Exception in thread "main" java.lang.NullPoint
By ecorvo07 in forum New To JavaReplies: 5Last Post: 02-04-2011, 04:29 AM -
Doubly Linked List
By matin1234 in forum New To JavaReplies: 0Last Post: 06-02-2010, 05:58 AM -
Circular Double Linked List
By theonly in forum Advanced JavaReplies: 3Last Post: 12-06-2009, 05:10 PM -
Help with Doubly linked list
By Dr Gonzo in forum New To JavaReplies: 5Last Post: 12-06-2008, 07:45 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks