Search:

Type: Posts; User: helloworld922

Search: Search took 0.09 seconds.

  1. Re: Returning reversed string? Help please.

    There's nothing wrong using recursion, but you've got to do it properly :P

    But yes, I would recommend not using recursion because these algorithms are generally harder for new programmers to write.
  2. Re: Returning reversed string? Help please.

    you're trying to call your reverseString method using the String class (well, technically not even this, but I won't go into the details). Instead, you should be calling with an actual string object....
Results 1 to 2 of 2