Searching and Sorting Linked Lists

Question description

The instructions and accompanying files will be uploaded due to formatting issues. the first file is the lab. the following is the UnorderedLinkedListInt class.public class UnorderedLinkedListInt extends LinkedListIntClass{ public UnorderedLinkedListInt(){ super(); } public boolean search(int searchItem){ LinkedListNode current; current = first; while (current != null){ if (current.info == searchItem) return true; else current = current.link; } return false; } public void insertFirst(int newItem){ LinkedListNode newNode; newNode = new LinkedListNode(newItem, first); first = newNode; if (last == null) last = newNode; count++; } public void insertLast(int newItem){ LinkedListNode newNode; newNode = new LinkedListNode(newItem, null); if (first == null){ first = newNode; last = newNode; } else{ last.link = newNode; last = newNode; } count++; } public void deleteNode(int deleteItem){ LinkedListNode current; LinkedListNode trailCurrent; boolean found; if (first == null) System.err.println(“Cannot delete from an empty list.”); else{ if (first.info == deleteItem){ first = first.link; if (first == null) last = null; count–; } else{ found = false; trailCurrent = first; current = first.link; while (current != null && !found){ if (current.info == deleteItem) found = true; else{ trailCurrent = current; current = current.link; } } if (found){ count–; trailCurrent.link = current.link; if (last == current) last = trailCurrent; } else System.out.println(“Item to be deleted is not in the list.”); } } }}Also, do not worry about input validation in the Client. i will take care of that myself, thanks!

Place your order
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Benefits of our college essay writing service

  • 80+ disciplines

    Buy an essay in any subject you find difficult—we’ll have a specialist in it ready

  • 4-hour deadlines

    Ask for help with your most urgent short tasks—we can complete them in 4 hours!

  • Free revision

    Get your paper revised for free if it doesn’t meet your instructions.

  • 24/7 support

    Contact us anytime if you need help with your essay

  • Custom formatting

    APA, MLA, Chicago—we can use any formatting style you need.

  • Plagiarism check

    Get a paper that’s fully original and checked for plagiarism

What the numbers say?

  • 527
    writers active
  • 9.5 out of 10
    current average quality score
  • 98.40%
    of orders delivered on time
error: