String recursion: Processing a String recursively by operating on the first character and recursing on the rest.
How to apply it: Use s.substring(1) to shrink the String toward the base case of an empty String.
Course: AP Computer Science A · Unit: Recursion
Practice questions about String recursion on AimFive — get rubric-based feedback showing exactly which points you earned.
AP and Advanced Placement are trademarks of College Board. AimFive is not affiliated with or endorsed by College Board.