handout #3CSE l43-Computer Programming IlProgramming Assignment #1due: Thursday, 10/81091 9 pmFor your first programming assignment you are to write a class called Sortedlntlist that is a variation of the Anaylntlist class discussed in lectue (handout #2). The primarydifferences are that your new class must maintain the list of integers in sorted (non-decreasing) order and that it will have an extra option to speciff that the numbers shouldbe unique.The new class should have the same public methods as the old class except for the two- parameter add method that adds a value at a particular index. Because we want to keep the list in sorted order, we won't allow the client to speciff where something should go,so this method should not be a public method of the new class.Two of the methods should be rewritten. The single-parameter add method should nolonger add at the end of the list. It should add the value in an appropriate place
This is the end of the preview. Sign up
access the rest of the document.