Thread
:
exercise of recursive method
View Single Post
#
2
(
permalink
)
03-08-2008, 10:02 PM
hardwired
Senior Member
Join Date: Jul 2007
Posts: 1,141
To get you started think about comparing the
charAt(0)
of each string. If they are the same you remove the first letter from each string and return a call to the method using the substrings as arguments.
hardwired
View Public Profile
Send a private message to hardwired
Find all posts by hardwired