Tech Mahindra interview question

String reversal without using reverse() method, Architecture diagram for project