If input is a string 'yellow' the output should be 'leywol'. Locate the middle of the string and reverse the first (yel) and second (low)parts of the string.
If the length of the string is odd, leave the middle letter unchanged.
Input 'letter' output 'telret'
Input 'apple' output 'papel'
Additional test cases have been added.
nice one!
Sublime!
Return the largest number that is adjacent to a zero
3108 Solvers
2233 Solvers
272 Solvers
469 Solvers
296 Solvers