algorithms.tutorialhorizon.com
Replace all spaces in a String with '%20' | Algorithms
In a given string , replace all spaces in a String with '%20'. You can consider that string has enough space at the end of the string to hold the extra characters.