Hi guys!
Say I have the following method:
I want to make it so that when given "abc" it returns in an ArrayList:
"abc"
"ab"
"a"
""
Right now, I'm trying to do this recursion alone. I've come to sort of have the idea that it's repeating the second line and throwing everything off. Is there any way to fix this to make it work as intended, or do I have a faulty plan and need to rewrite the whole thing?
Bwuh. So much frustration over simple code.