Algorithm
Traverse the length of the string Extract each character while traversing Add each character in front of the existing string And get the reversed string
Script to reverse a string
Traverse the length of the string Extract each character while traversing Add each character in front of the existing string And get the reversed string
Leave feedback in the comments!
Log in or sign up for Devpost to join the conversation.