All ChallengesLoading...
Not Solved

Reverse second half of string

Write a function that takes a string and returns it with only the second half reversed, while the first half remains the same.
Intermediate
sample input: "abcdefgh" 
sample output: abcdhgfe
Loading...
Test Output: