Aurionpro Solutions interview question

Reverse string without using built in method and remove spaces