Quantcast

Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

ajprincess Group Title

Please help:)

  • one year ago
  • one year ago

  • This Question is Closed
  1. ajprincess Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    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.

    • one year ago
  2. khurramshahzad Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    can u explain ur question ... is that an array.. string or what ???

    • one year ago
  3. ajprincess Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    linked list in java

    • one year ago
  4. mathsmind Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    i can do it in c sharp

    • one year ago
  5. ajprincess Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    @KonradZuse pls help:)

    • one year ago
  6. KonradZuse Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    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.

    • one year ago
  7. ajprincess Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    I need to create my own class but I dnt knw how to. Can u pls help me to do it?

    • one year ago
  8. ajprincess Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Actually I am having problems with creating those methods

    • one year ago
  9. KonradZuse Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    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.

    • one year ago
  10. ajprincess Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    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.

    • one year ago
    • Attachments:

See more questions >>>

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.