You can refer below article, it has everything you need, an algorithm and flowchart too -
Algorithm and Flowchart to Reverse a String
Ask Us