Interview Question- Java Program to Reverse Characters in a String While Preserving Space Positions