- Joined
- Sep 24, 2022
- Messages
- 1
- Reaction score
- 0
Note that if the length of the integer is odd, then the left half will contain the digit in
the exact middle position (for example: the left half of 65237 is 652, and the right half is 37).
Sample Input: 984897 > Sample Output: 897984
Sample Input: 65237 > Sample Output: 37652
the exact middle position (for example: the left half of 65237 is 652, and the right half is 37).
Sample Input: 984897 > Sample Output: 897984
Sample Input: 65237 > Sample Output: 37652