Answer asap please in java (25 points) Implement the following methods: a. ( 10
ID: 3907350 • Letter: A
Question
Answer asap please in java
(25 points) Implement the following methods: a. ( 10 points) A method named issorted with the following signature that gets a linked list of Strings and checks whether the list is alphabetically sorted. The method must return true if the list is sorted and return false otherwise. publlc static boolean issorted b. (15 points) A method with the following signature that gets a linked list of Strings an nodes of it. The method returns a clone of the shortened linked list as the output. d starting from the second node, deletes all alternate public static LinkedList deleteAlt (LinkedListestring list)Explanation / Answer
public static boolean isSorted(LinkedList list) { for(int i = 0; i 0) { return false; } } return true; } public static LinkedList deleteAlt(LinkedList list) { LinkedList newList = new LinkedList(); for(int i = 1; iRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.