Search:

Type: Posts; User: luroma0511

Search: Search took 0.10 seconds.

  1. Replies
    2
    Views
    1,620

    Re: please help with out of bounds exception

    The exception you are getting is a StringIndexOutOfBoundsException which can occur when no such character is in bounds of a string. The problem you had is that with dna.indexOf(startIndex), you are...
  2. Re: Hackerrank Sales by Match problem - I'm getting the answer but can't return it

    When the method called itself in the code, it never returns its value at the end of its method execution, and the value for the newCount is lost.

    add the return statement to the matchCheck method....
  3. Replies
    1
    Views
    661

    Arrays and loops

    When you're setting up the constructor, the constructor expects not only how many rows and columns you have, but also an already made two-dimensional array, or a table for example. Since we want to...
Results 1 to 3 of 3