Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Java this time!! Linked List

Thread Tools
 
Search this Thread
 
Old May 5, 2002 | 02:47 PM
  #1  
super_si's Avatar
super_si
Thread Starter
Scooby Regular
 
Joined: Feb 2002
Posts: 7,951
Likes: 0
From: Lurkin Somewhere
Post

Just noticed ive till friday to do......
Project B


You decide that your solution to project A will be too slow to be useful when used with a real telephone directory and make the following changes to attempt to improve the performance of your program (a sample solution to Project A will be made available if you require it).



1). Provide an implementation of the Directory interface using the LinkedList class described in lectures (NOT the Java Collections List Class). You MUST NOT CHANGE the LinkedList class – marks will be deducted for anyone whose solution relies upon changing the LinkedList or LinkedListIterator implementation given.



2). The changes in 1) should make adding, deleting and modifying records more efficient but will probably increase the time to lookup numbers. To overcome this you use a technique called hashing. Instead of storing all the records on one list you use a series of lists. The data for all people whose surname begins with ‘A’ is stored on the first list, records for all people whose surname begins with ‘B’ on a second list and so on. Provide an implementation of the Directory interface using this technique.



Again, you should measure the performance for the best, worst and average cases of implementations 1) and 2) above. Compare the efficiency of each implementation in your documentation

****

Any ideas?
Reply
Old May 7, 2002 | 10:43 AM
  #2  
stevencotton's Avatar
stevencotton
Scooby Regular
 
Joined: Jan 2001
Posts: 2,710
Likes: 1
From: behind twin turbos
Post

No more than the help I gave you last time when you asked this exact same question
Reply
Old May 7, 2002 | 02:33 PM
  #3  
super_si's Avatar
super_si
Thread Starter
Scooby Regular
 
Joined: Feb 2002
Posts: 7,951
Likes: 0
From: Lurkin Somewhere
Post

lol i just dont have the faintest idea where to start its completly over my head
Reply
Old May 7, 2002 | 03:10 PM
  #4  
Fosters's Avatar
Fosters
Scooby Regular
 
Joined: Jul 2000
Posts: 2,145
Likes: 0
From: Islington
Post

you missed the classes then?
Reply
Old May 7, 2002 | 10:13 PM
  #5  
super_si's Avatar
super_si
Thread Starter
Scooby Regular
 
Joined: Feb 2002
Posts: 7,951
Likes: 0
From: Lurkin Somewhere
Post

yeah yeah and now i dont have a clue ive got the 3 linked lsit class its just what to do with em
Reply
Old May 7, 2002 | 10:15 PM
  #6  
super_si's Avatar
super_si
Thread Starter
Scooby Regular
 
Joined: Feb 2002
Posts: 7,951
Likes: 0
From: Lurkin Somewhere
Post

yeah yeah and now i dont have a clue ive got the 3 linked lsit class its just what to do with em
Reply
Old May 10, 2002 | 03:18 PM
  #7  
super_si's Avatar
super_si
Thread Starter
Scooby Regular
 
Joined: Feb 2002
Posts: 7,951
Likes: 0
From: Lurkin Somewhere
Post

It took 3days but i did the ****!
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Darrell@Scoobyworx
Trader Announcements
26
Jan 30, 2024 01:27 PM
StueyBII
General Technical
4
Sep 26, 2015 12:35 PM
sivo
ScoobyNet General
12
Sep 26, 2015 12:34 PM
StueyBII
General Technical
0
Sep 25, 2015 05:58 PM
LoganS
Was it you?
0
Sep 25, 2015 12:55 AM




All times are GMT +1. The time now is 10:39 AM.