ajprincess
  • ajprincess
Please help:)
Computer Science
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get our expert's

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this
and thousands of other questions.

ajprincess
  • ajprincess
Please help:)
Computer Science
chestercat
  • chestercat
See more answers at brainly.com
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Get this expert

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this
and thousands of other questions

ajprincess
  • ajprincess
Can someone pls tell me how to write a program that finds the length, middle element and nth element of a linked list and reverse the linked list with step by step explanation.
anonymous
  • anonymous
can u explain ur question ... is that an array.. string or what ???
ajprincess
  • ajprincess
linked list in java

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

anonymous
  • anonymous
i can do it in c sharp
ajprincess
  • ajprincess
@KonradZuse pls help:)
KonradZuse
  • KonradZuse
Well do you want to create your own linked list class? LinkedList list = new LinkedList(); list.size() list.get(n), list.get(list.size()/2), or if you have to make your own, you would need to create the class with the methods needed.
ajprincess
  • ajprincess
I need to create my own class but I dnt knw how to. Can u pls help me to do it?
ajprincess
  • ajprincess
Actually I am having problems with creating those methods
KonradZuse
  • KonradZuse
http://docs.oracle.com/javase/6/docs/api/java/util/LinkedList.html if you see they allow us to add any Element E to a LinkedList. You need to set up nodes and set up .next and .back.
ajprincess
  • ajprincess
public Link reverse() { Link previous = null; Link current=first; Link forward; while(current!=null) { forward=current.next; current.next = previous; previous=current; current=forward; } return previous; } This is the code I found for linkedlist but it does not give me the desired output. Can u pls tell me y this is wrong? what amendments should I make? it would be great if u explain me this code.

Looking for something else?

Not the answer you are looking for? Search for more explanations.