Find Jobs
Hire Freelancers

Linked List

$30-5000 USD

Closed
Posted about 20 years ago

$30-5000 USD

Paid on delivery
First create a class StudentRecord that will have three fields: firstName, lastName, studentID (6-digit integer). In other words each objects of type StudentRecord will hold information about a particular student. E.g. to create a new object of type StudentRecord you may invoke the following constructor call: StudentRecord rec1 = new StudentRecord("Mike", "Darvin", 234123) Your main task is to implement the following data structure: a list of StudentRecords with ability to insert a new record anywhere in the list, delete any record in the list, look up a record in a given position, find if a certain record exists etc. implement the following interface: public interface StudentRecordListInterface{ public void createList(); //creates an empty list; <--- This should only be called from a constructor public boolean isEmpty();//returns true iff the list is empty; public int size(); //returns the number of records currently in the list public void add(StudentRecord sr); //adds the record sr to the end of the list public void insert(StudentRecord sr, int position); // inserts sr in the specified position in the list public StudentRecord lookup(int position); // returns the reference to the record at the specified position public int find(StudentRecord sr); // returns the position of the first appearance of the record in the list (-1 if not found) public void remove(int position); // removes the record in the specified position public void makeEmpty(); // makes the list empty public void printList(); //prints out all records starting from the first public void printListReverse(); //prints out all records in reverse order starting from the last } You will provide two different implementations of this interface: StudentRecordArrayList and StudentRecordLinkedList. StudentRecordArrayList will use an array of StudentRecords to store the list. The initial size of the array should be 10. The add and insert operation need to check if the array is filled and if it is, call a doubleArraySize() method of this class. StudentRecordLinkedList will be implemented using a doubly linked list of ListNode-s. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform Windows XP
Project ID: 3146466

About the project

20 proposals
Remote project
Active 20 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
20 freelancers are bidding on average $23 USD for this job
User Avatar
See private message.
$10.20 USD in 1 day
5.0 (80 reviews)
5.9
5.9
User Avatar
See private message.
$17 USD in 1 day
5.0 (321 reviews)
6.0
6.0
User Avatar
See private message.
$40 USD in 1 day
5.0 (159 reviews)
6.0
6.0
User Avatar
See private message.
$17 USD in 1 day
5.0 (10 reviews)
5.4
5.4
User Avatar
See private message.
$21.25 USD in 1 day
4.9 (89 reviews)
5.6
5.6
User Avatar
See private message.
$29.75 USD in 1 day
5.0 (220 reviews)
5.1
5.1
User Avatar
See private message.
$11.05 USD in 1 day
4.9 (104 reviews)
4.9
4.9
User Avatar
See private message.
$15.30 USD in 1 day
4.9 (47 reviews)
4.6
4.6
User Avatar
See private message.
$19.55 USD in 1 day
5.0 (126 reviews)
4.7
4.7
User Avatar
See private message.
$13.60 USD in 1 day
5.0 (31 reviews)
4.4
4.4
User Avatar
See private message.
$17 USD in 1 day
5.0 (12 reviews)
3.1
3.1
User Avatar
See private message.
$21.25 USD in 1 day
1.6 (4 reviews)
1.9
1.9
User Avatar
See private message.
$25.50 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$12.75 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$12.75 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$10.20 USD in 1 day
5.0 (1 review)
0.0
0.0
User Avatar
See private message.
$85 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$21.25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$25.50 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$42.50 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Covington, United States
5.0
1
Member since Mar 25, 2004

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.