Input : "107501AB021F" Output: "1075 1AB 21F"
- Assume the input is always of 12 digit hexadecimal value.
- For each 2 digit char, if 0 occurs on the first position, it should be replaced with space
I know we can do this with an if condition and a charAt, but is there an option to do this without using it?