0
/ 1.0
Design a recursive method for scrambling Strings of length 3 or more. It must swap the first and last character of the input String, then...
Design a recursive method for scrambling Strings of length 3 or more. It must swap the first and last character of the input String, then split the String in half and do it again to each half.
Examples:
scramble("Banana") -> "naaBan"
scramble("Pineapple") -> "ieenpPapl"
Your feedback will appear here when you check your answer.