Answered step by step
Verified Expert Solution
Question
1 Approved Answer
CCCS 3 1 5 : Data Structures and Algorithms Assignment 1 Type of Assignment Individual Work Estimated Time: 1 2 0 minute Description In this
CCCS : Data Structures and Algorithms
Assignment
Type of Assignment
Individual Work
Estimated Time: minute
Description
In this Assignment, you will study, Analyze BigO and implement a singly Linked List Arrays. You also compare an implementation of a method using recursive programming vs iterative programming.
Learning Outcomes
Recognize the use of the linkedlist and recursive programming
Apply BigO notation to analysis of an algorithm
Evaluation
tablePointsCode formattingPart Java implementation of a Linked ListPart BigO Analysis QuestionsPart Comparison of recursive vs iterative solutionTotalPart : Java implementation of a Linked List
For this part, you will be provided a set of skeleton classes for you to implement a singly linked list of
type int. You will also be provided a minimal set of test cases. You are encouraged to augment the test
suite.
Import the eclipse project Assignmentzip into your workspace. The package includes a complete Node
class as well as a test suite MyLinkedListTest. A skeleton MyLinkedList class is provided with the
following methods that need to be implemented:Note that each of the above method are thoroughly commented in the included assignment package
and that additional methods may be required. Additionally, you may assume that methods are provided
valid input.
To submit this part of the assignment, you are required to export your project as an Archive ZIP file and
compress it using the ZIP format for upload in MyCourses. See instructions posted on MyCourses for
importing and exporting Eclipse Projects.
Part : BigO Analysis
Please indicate the BigO timecomplexity of each method in your Linked List implementation in the
comments of each method. One point for each method.
Part : Comparison of recursive vs iterative solution
In the comment header of the LinkedList class, answer the following questions:
points Which findMin implementation is faster and why?
points Which findMin implemtation has less lines of code and why?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started