SecPod Technologies interview question

String Reverse Program