Search:

Type: Posts; User: ZenithX

Search: Search took 0.08 seconds.

  1. Re: Need help with a part in a recursion LinkedList question

    Here's the code I have so far. I am stuck on the problem right at the end.


    public class LinkedList {
    // Get and Set methods are NOT necessary!

    private LinkedList next;
    private final...
  2. Need help with a part in a recursion LinkedList question

    Hello,

    Currently I am doing a LinkedList program using recursion. I have passed the tests for the other portions. However, I do not know how to start doing this problem inside the LinkedList...
  3. Replies
    4
    Views
    6,636

    Re: Need help with this practice java question

    Thanks William! i figured it out!
    it makes more sense now.
  4. Replies
    4
    Views
    6,636

    Re: Need help with this practice java question

    So from what i understand, there is a problem in the bolded area? return input.substring(input.indexOf("\n"),input.indexOf(input.substring(input.indexOf("\n")-1)));

    Also, how do i check if the...
  5. Replies
    4
    Views
    6,636

    Need help with this practice java question

    Hello guys,

    Im having some problem with this question

    Write a method, getSecondLine, that is passed a String argument and that returns the second line, without its newline character. (Recall...
Results 1 to 5 of 5